$ gpspipe -w # log to stdout
$ gpspipe -w -o abc.log # log to a file
To auto-log on startup, insert the following line to the file /etc/rc.local:
| # DHCP | |
| tcpdump -i eth0 -pvn port 67 and port 68 | |
| # DHCPv6 | |
| tcpdump -i eth0 -n -vv '(udp port 546 or 547) or icmp6' |
| curl --verbose --user admin:admin -d '{"hello:input": { "name":"talonx"}}' -H "Content-Type: application/json" "http://localhost:8181/restconf/operations/hello:hello-world" |
| cat /proc/cmdline | |
| console=ttyS1,57600n8 root=/dev/mtdblock5 console=ttyS0 | |
| ========================================================= | |
| cat /proc/version | |
| Linux version 3.10.14+ (builder@rd) (gcc version 4.9.4 (Buildroot 2016.11-rc2-00001-geeacc3c) ) #1 SMP Fri Oct 27 15:29:30 MSK 2017 | |
| =========================== | |
| cat /VERSION | |
| NAME: DIR_853_MT7621AT |
| # Boxstarter options | |
| $Boxstarter.RebootOk=$true # Allow reboots? | |
| $Boxstarter.NoPassword=$false # Is this a machine with no login password? | |
| $Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot | |
| # Basic setup | |
| Update-ExecutionPolicy Unrestricted | |
| Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
| Enable-RemoteDesktop | |
| Disable-InternetExplorerESC |
ls > list.txt
sort the list.txt by hand using your text editor or do whatever you like with it
Use this command to change mtime of each file in the list