Based on the history ranking of the commandlinefu website, this article lists the top 20 Linux commands with the highest votes. Are you familiar with this?
1. Run the previous command with the root account
- Sudo !!
2. Build a simple Web server using Python
Access through http: // $ HOSTNAME: 8000
- Python-m SimpleHTTPServer
3. Switch to the last accessed directory
- Cd-
4. Replace foo with bar in the previous command and execute
- ^ Foo ^ bar
5. traceroute + ping
- Mtr google.com
6. Quickly call an editor to compile a command
- Ctrl-x e
7. Execute a command, but it is not saved in the command history.
- <Space> command
8. reinitialize the terminal
- Reset
9. Call up the parameters used by the last command
- 'Alt +. 'or' <ESC> .'
10. display the file system mounted by the current system in a clearer way
- Mount | column-t
11. execute commands at a given time
- Echo "ls-l" | at midnight
12. query Wikipedia through the DNS Console
- Dig + short txt <keyword>. wp. dg. cx
13. Open a tunnel to your local port 2001 from port 80
- Ssh-N-L2001: localhost: 80 somemachine
14. quick access to ASCII tables
- Man ascii
15. Get your external IP address
- Curl ifconfig. me
16 .!! Indicates that the previous command is repeatedly executed and replaced with: gs/foo/bar.
- !! : Gs/foo/bar
17. Output your microphone to the Speaker of the remote machine
- Dd if =/dev/dsp | ssh-c arcfour-C username @ host dd of =/dev/dsp
18. mount a temporary memory Partition
- Mount-t tmpfs/mnt-o size = 1024 m
19. Mount the directory/File System in SSH Mode
- Sshfs name @ server:/path/to/folder/path/to/mount/point
20. update Twitter through curl
- Curl-u user: pass-d status = "Tweeting from the shell" <a href = "http://twitter.com/statuses/update.xml"> http://twitter.com/statuses/update.xml </a>
Via: http://code.csdn.net/news/2819566
Linux Command cd
Cat for Linux commands
Linux Command alias/unalias
Linux Command Parsing: su root and su-root
Interactive input of Linux commands read
This article permanently updates the link address: