20 most popular Linux commands, do you agree?

Source: Internet
Author: User

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
  1. Sudo !!
2. Build a simple Web server using Python

Access through http: // $ HOSTNAME: 8000

  1. Python-m SimpleHTTPServer
3. Switch to the last accessed directory
  1. Cd-
4. Replace foo with bar in the previous command and execute
  1. ^ Foo ^ bar
5. traceroute + ping
  1. Mtr google.com
6. Quickly call an editor to compile a command
  1. Ctrl-x e
7. Execute a command, but it is not saved in the command history.
  1. <Space> command
8. reinitialize the terminal
  1. Reset
9. Call up the parameters used by the last command
  1. 'Alt +. 'or' <ESC> .'
10. display the file system mounted by the current system in a clearer way
  1. Mount | column-t
11. execute commands at a given time
  1. Echo "ls-l" | at midnight
12. query Wikipedia through the DNS Console
  1. Dig + short txt <keyword>. wp. dg. cx
13. Open a tunnel to your local port 2001 from port 80
  1. Ssh-N-L2001: localhost: 80 somemachine
14. quick access to ASCII tables
  1. Man ascii
15. Get your external IP address
  1. Curl ifconfig. me
16 .!! Indicates that the previous command is repeatedly executed and replaced with: gs/foo/bar.
  1. !! : Gs/foo/bar
17. Output your microphone to the Speaker of the remote machine
  1. Dd if =/dev/dsp | ssh-c arcfour-C username @ host dd of =/dev/dsp
18. mount a temporary memory Partition
  1. Mount-t tmpfs/mnt-o size = 1024 m
19. Mount the directory/File System in SSH Mode
  1. Sshfs name @ server:/path/to/folder/path/to/mount/point
20. update Twitter through curl
  1. 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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.