AM335X-PAC Series User Manual version 2.0.1 Page: 56
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
3.1.16. hwclock: queries and sets the hardware clock (RTC)
Parameter
Description
Example
-r
Reads the hardware clock and prints the time on a standard
output.
hwclock -r
–
w
Sets the hardware clock to the current system time
hwclock -w
3.1.17. netstat: displays the current state of the network
Parameters: [-a]: list all states (For example: netstat -a)
3.1.18. ifconfig: displays the ip and network mask information (Equivalent DOS
Command: ipconfig)
3.1.19. ping: used to test whether the host in a network is reachable
Syntax: ping IPAddress
For example ping 192.168.0.1
3.1.20. clear: clears the screen
3.1.21. passwd: used to change the password
3.1.22.
reboot: reboots the LinPAC (or use ‘shutdown –r now’
)
3.1.23. wget: get the file from the web link
Syntax: wget [option] [URL]
For example:
http://ftp.icpdas.com/pub/cd/linpac/napdos/lx-series/sdk /linpac_x86_sdk.tgz
Note
: Using static IP address may have to be configured in the
‘/etc/resolv.conf’
file.
At the Command Prompt, edit the
/etc/resolv.conf
file by modifying the settings.
For example:
nameserver 10.0.0.3
nameserver 10.0.0.9
search icpdas.com