你可能会喜欢
You can use the #unix #diff command to get in terminal side-by-side text file comparisons using the '-y' option: diff -y FILE1 FILE2
On #linux/#unix use #dd/#ssh combo to copy btwn hosts (good for #backups, #VM cloning, etc): dd if=/PATH/SOURCE | ssh HOST dd of=/PATH/COPY
#nohup a #unix process (so it won't die on logout) using #disown (after it has been backgrounded, maybe using 'ctrl+z; bg'): disown -h PID#
Use #watch to #monitor real time file changes, command output diffs, etc. For example, to monitor a #RAID rebuild: watch cat /proc/mdstat
Use #tee to send output to both #stdout and #stderr: echo "The date is `date +%`D" | tee /dev/stderr
Use #tee to duplicate a file stream so output goes to both the screen and to a file: echo "The time is now `date +%T`" | tee FILENAME
Use #gdb (GNU Debugger) or #strace (trace system calls) to #debug an already running process: gdb -p PID; strace -p PID
Force an immediate #shutdown (no #shutdown, no syncing, may cause damage): echo 1 > /proc/sys/kernel/sysrq; echo o > /proc/sysrq-trigger
Force an immediate #reboot (no #shutdown, no syncing, may cause damage): echo 1 > /proc/sys/kernel/sysrq; echo b > /proc/sysrq-trigger
Use #touch to create a new empty file or update the modification time of an existing file: touch FILENAME
Start a simple #file_server (serving the current directory) on the fly with $python: python -m SimpleHTTPServer
United States 趋势
- 1. Game 7 72.3K posts
- 2. #Talus_Labs N/A
- 3. jungkook 768K posts
- 4. Kawhi 7,058 posts
- 5. Glasnow 6,482 posts
- 6. Ja Morant 5,085 posts
- 7. Barger 5,926 posts
- 8. vmin 2,057 posts
- 9. Bulls 31.3K posts
- 10. Sasaki 11K posts
- 11. Grizzlies 7,161 posts
- 12. #RipCity N/A
- 13. Happy New Month 106K posts
- 14. Roki 7,653 posts
- 15. GAME SEVEN 7,491 posts
- 16. Clement 5,104 posts
- 17. Yamamoto 35.7K posts
- 18. Justin Dean 2,323 posts
- 19. #LetsGoDodgers 11.2K posts
- 20. Rojas 11.2K posts
你可能会喜欢
-
Free Software Foundation (FSF) @[email protected]
@fsf -
ReactOS
@reactos -
Recurse Center
@recursecenter -
grsecurity
@grsecurity -
🥝🏳️🌈 Benjamin Delpy
@gentilkiwi -
3D Realms
@3DRealms -
AppsGoneFree
@AppsGoneFreeApp -
Andrew Jones
@hpcnotes -
Jiri Kropac
@jiriatvirlab -
Tim Hopper
@tdhopper -
Alan S. House
@IamUnix
Something went wrong.
Something went wrong.