10 coolest Linux single-line commands voted by website users
Source: Internet
Author: User
Sudo !! Run the previous command in the root account. Python-mSimpleHTTPServer uses Python to build a simple Web server that can be accessed through http: // $ HOSTNAME: 8000. : W! Sudotee % in Vim, you do not need to save the edited text...
Sudo !! Run the previous command in the root account. Python-m SimpleHTTPServer uses Python to build a simple Web server that can be accessed through http: // $ HOSTNAME: 8000. : W! Sudo tee % in Vim, you do not need to save the edited file. Cd-change to the last accessed directory. ^ Foo ^ bar replace foo in the previous command with bar and execute. Cp filename {,. bak} quickly backs up or copies files. Mtr google.com traceroute + ping. ! Whatever: p searches for command history, but does not execute it. $ Ssh-copy-id user @ host copy the ssh keys to user @ host to enable password-less SSH login. Ffmpeg-f x11grab-s wxga-r 25-I: 0.0-sameq/tmp/out. mpg records the Linux Desktop as a video.
Author BucketLi
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.