AM335X-PAC Series User Manual version 2.0.4 Page: 58
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
3.1.10. chmod: changes the access permissions for a file
Syntax: chmod ??? file
→
??? means owner: group: all users
For example: chmod 754 test.exe
7 5 4
→
111 (read, write, execute)
101 (read, write, execute)
100 (read, write, execute)
The first number 7: the
owner
can read and write and execute files
The second number 5: the
group
can only read and execute files
The third number 4:
all users
can only read files
3.1.11. uname: displays the Linux version information
3.1.12. ps: displays a list of the currently active procedures
3.1.13. ftp: transfers a file using the file transfer protocol (FTP)
Syntax: ftp IPAdress (Example: ftp 192.168.0.200
→
connect to ftp server)
Syntax
Description
!
temporarily exits the FTP
exit
back to the ftp
bin
transfers files in ‘binary’ mode
get
downloads a file from the LinPAC to the Host
(For example: get /mnt/hda/test.exe c:/test.exe)
put
uploads a file from the host to the LinPAC
(For example: put c:/test.exe /mnt/hda/test.exe)
bye
exits FTP
3.1.14. telnet: establishes a connection to another PC via Telnet terminal
Syntax: telnet IPAddress
For example telnet 192.168.0.200 (will allow remote control of the LinPAC AM335x PAC)
3.1.15. date: prints or sets the system date and time