自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

盤點(diǎn) 20 個(gè)最受歡迎的 Linux 命令

系統(tǒng)
本文根據(jù)commandlinefu網(wǎng)站的歷史排名,篩選出了前20個(gè)得票最高的Linux命令??纯茨愣寄苁炀毷褂昧藛??

本文根據(jù)commandlinefu網(wǎng)站的歷史排名,篩選出了前20個(gè)得票***的Linux命令??纯茨愣寄苁炀毷褂昧藛?? 

1. 以 root 帳戶執(zhí)行上一條命令

  1. sudo !! 

2. 利用 Python 搭建一個(gè)簡(jiǎn)單的 Web 服務(wù)器

可通過 http://$HOSTNAME:8000訪問

  1. python -m SimpleHTTPServer 

3. 切換到上一次訪問的目錄 

  1. cd -

4. 將上一條命令中的 foo 替換為 bar,并執(zhí)行  

  1. ^foo^bar

5. traceroute + ping   

  1. mtr google.com

6. 快速調(diào)用一個(gè)編輯器來編寫一個(gè)命令 

  1. ctrl-x e

7. 執(zhí)行一個(gè)命令,但不保存在命令歷史記錄中 

  1. <space>command

8. 重新初始化終端

  1. reset

9. 調(diào)出上次命令使用的參數(shù) 

  1. 'ALT+.' or '<ESC> .'

10. 以更加清晰的方式顯示當(dāng)前系統(tǒng)掛載的文件系統(tǒng)

  1. mount | column -t

11. 在給定的時(shí)間執(zhí)行命令 

  1. echo "ls -l" | at midnight

12. 通過DNS控制臺(tái)查詢維基百科 

  1. dig +short txt <keyword>.wp.dg.cx

13. 從80端口向你本地的2001端口開啟隧道

  1. ssh -N -L2001:localhost:80 somemachine

14. 快速訪問ASCII表  

  1. man ascii

15. 獲取你的外部IP地址 

  1. curl ifconfig.me

16. !! 表示重復(fù)執(zhí)行上一條命令,并用 :gs/foo/bar 進(jìn)行替換操作

  1. !!:gs/foo/bar

17. 輸出你的麥克風(fēng)到遠(yuǎn)程機(jī)器的揚(yáng)聲器 

  1. dd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp

18. 掛載一個(gè)臨時(shí)的內(nèi)存分區(qū) 

  1. mount -t tmpfs tmpfs /mnt -o size=1024m

19. 以SSH方式掛載目錄/文件系統(tǒng) 

  1. sshfs name@server:/path/to/folder /path/to/mount/point

20. 通過curl更新Twitter 

  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>

本文地址:http://linux.cn/article-3111-1.html

責(zé)任編輯:黃丹 來源: Linux中國
相關(guān)推薦

2015-04-28 13:51:52

開源云項(xiàng)目IaaSPaaS

2016-08-12 14:50:29

開源HadoopSpark

2018-07-24 11:18:04

2019-02-19 15:13:27

JavaGitHub

2014-01-02 14:24:29

火狐擴(kuò)展火狐瀏覽器

2014-03-31 10:34:29

Ubuntu LinuOpenStack

2020-09-09 10:40:26

UbuntuLinux桌面

2023-04-11 08:26:34

2023-09-11 06:43:38

崗位ITDevOps

2013-07-22 15:38:08

Java大師底層

2018-07-05 09:06:02

2010-02-06 15:41:08

ibmdwJava

2023-03-07 14:18:43

2017-06-13 13:29:32

前端框架

2017-10-10 13:29:54

AI工具 庫 平臺(tái)

2015-07-21 15:22:16

Java 開發(fā)CMS 系統(tǒng)

2011-12-30 10:16:33

Linux發(fā)行版簡(jiǎn)介

2016-02-02 10:56:50

2023-09-19 15:04:02

Github開源

2020-11-04 13:14:55

Linux發(fā)行版Linux
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)