Hwclock: Queries And Sets The Hardware Clock (Rtc); Netstat: Displays The Current State Of The Network; Ifconfig: Displays The Ip And Network Mask Information (Equivalent Dos Command: Ipconfig); Ping: Used To Test Whether The Host In A Network Is Reachable - ICP DAS USA LP-22 Series User Manual

Hide thumbs Also See for LP-22 Series:
Table of Contents

Advertisement

3.1.16. hwclock: queries and sets the hardware clock (RTC)

Parameter
Reads the hardware clock and prints the time on a standard
-r
output.
–w
Sets the hardware clock to the current system time

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:
wget
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
For example:
nameserver 10.0.0.3
nameserver 10.0.0.9
search icpdas.com
AM335X-PAC Series User Manual
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved.
Description
/etc/resolv.conf
file by modifying the settings.
version 2.0.1
Example
hwclock -r
hwclock -w
Page: 56
E-mail: service@icpdas.com

Advertisement

Table of Contents
loading

Table of Contents