Top 10 cool members in Linux commands

Source: Internet
Author: User

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.

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.