Basic command-line
		
		
		
		Jump to navigation
		Jump to search
		
- Log in as super user
 
su
- Display current software and hardware version
 
cat /VERSION
- Show system time
 
date
- Show time from hardware clock (UTC)
 
hwclock -r
- Display content of console.log
 
cat /var/log/telem/console.log
- Follow the content of console.log
 
tail -f /var/log/telem/console.log
- Follow the content of console.log, only show lines containing phrase "DI23"
 
tail -f /var/log/telem/console.log |grep DI23
- Edit the file named log-conf.xml (changes will be lost after reboot)
 
nano /usr/local/etc/telem/log-conf.xml
- Save a TCP capture log from eth2, TCP port 2404, to file tcplog1.pcap (Wireshark compatible)
 
tcpdump -i eth2 -n tcp port 2404 -w tcplog1.pcap