When using related Linux commands, we will find a lot of interesting things. In the long-term use of the majority of users, we will summarize a lot of Linux commands. First, let's take a look at the top ten classic commands that we have summarized.
1. sudo !!
Run the previous command in the root account.
2. python-m SimpleHTTPServer
Use Python to build a simple Web server.
3.: w! Sudo tee %
You do not need to save the edited file in Vim.
4. cd-
Change to the last accessed directory.
5. ^ foo ^ bar
Replace foo with bar in the previous command and execute.
6. cp filename {,. bak}
Quickly back up or copy files.
7. mtr google.com
Traceroute + ping.
8 .! Whatever: p
Search for command history, but do not execute.
9. $ ssh-copy-id user @ host
Copy ssh keys to user @ host to enable password-less SSH login.
10. ffmpeg-f x11grab-s wxga-r 25-I: 0.0-sameq/tmp/out. mpg
Recording a video on a Linux Desktop.
In fact, we don't need to worship someone to find something. When you pay more attention to the use of Linux commands, you will also find a lot of interesting things.