liux终端的10条快捷命令
2013-04-13 13:38
134 查看
1. sudo !!
repeat run above command by root account
2.python -m SimpleHTTPServer
Set up a simple web server by use python,you can interview through http://$HOSTNAME:8000
3. :w !sudo tee %
No need previlege to save file into vim
4. cd -
change the directory to last time view,
note: cd
when you direct into cd ,you will return the user home directory
5. ^foo^bar
replace the previous in the command among "foo" to bar and run
6. cp filename{,.bak}
backup or copy file rapid
7. mtr google.com
this command assemble traceroute and ping
8. !whatever:p
Search the history command,but not execute
note: ctrl + r is search and execute
9. $ssh-copy-id user@host
copy ssh keys to user@host,so you can login without password
10. ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
recording the desktop to video,
above all,install ffmeg:sudo apt-get install ffmpeg
repeat run above command by root account
2.python -m SimpleHTTPServer
Set up a simple web server by use python,you can interview through http://$HOSTNAME:8000
3. :w !sudo tee %
No need previlege to save file into vim
4. cd -
change the directory to last time view,
note: cd
when you direct into cd ,you will return the user home directory
5. ^foo^bar
replace the previous in the command among "foo" to bar and run
6. cp filename{,.bak}
backup or copy file rapid
7. mtr google.com
this command assemble traceroute and ping
8. !whatever:p
mtr google.com zhicai@zhicai:~$ !mtr:p mtr google.com
Search the history command,but not execute
note: ctrl + r is search and execute
9. $ssh-copy-id user@host
copy ssh keys to user@host,so you can login without password
10. ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
recording the desktop to video,
above all,install ffmeg:sudo apt-get install ffmpeg
相关文章推荐
- Linux入门的最基本的命令: basic command 以及终端使用的快捷方式
- Linux下终端快捷命令(持续更新)
- 乌班图终端命令python,Vim编辑器快捷键/查找文件/添加组/sudo权限/用户账号
- 终端console的一些快捷命令
- vim,终端常用快捷键及命令
- 使用mac 终端利用alias设置快捷命令
- MacOS系统使用系列-1.终端中自定义快捷命令
- 快捷打开终端命令
- linux下的基本命令和终端下的常用快捷键
- Android系统在超级终端下必会的命令大全(一)转
- iOS开发日记9-终端命令
- Ubuntu下,清屏等终端常用命令
- Cisco路由器安全配置必用10条命令
- centos 7 下用命令(快捷键)启动终端terminal
- Linux终端下的快捷方式
- 在ubuntu 上增加右键终端命令
- ubuntu终端下常用快捷键
- 11个让你吃惊的 Linux 终端命令
- Android系统在超级终端下必会的命令大全(五)
- Cisco路由器安全配置必用10条命令