你可能會喜歡
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. #JoyForum 1,429 posts
- 2. #2025MAMAVOTE 288K posts
- 3. Good Thursday 19.3K posts
- 4. Brevis ZK 138K posts
- 5. Mila 17.7K posts
- 6. Deport Harry Sisson 12.4K posts
- 7. Friday Eve N/A
- 8. #MC필릭스의_냉터뷰 12.9K posts
- 9. MC FELIX FRIDGE INTERVIEW 14K posts
- 10. #FridgeInterview_MCFelix 13.1K posts
- 11. #2025MAMAAWARDS 194K posts
- 12. Tomonobu Itagaki 6,895 posts
- 13. Deloitte 9,199 posts
- 14. BNB Chain 20.5K posts
- 15. Ninja Gaiden 11.3K posts
- 16. DuPont 2,095 posts
- 17. Pelosi 146K posts
- 18. Mad Max 4,434 posts
- 19. Angel Reese 56.6K posts
- 20. John Fetterman 29.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.