20個の一番人気のLinuxコマンド
2055 ワード
http://code.csdn.net/news/2819566
1. rootアカウントで前のコマンドを実行します。
14.快速アクセスASCII表
1. rootアカウントで前のコマンドを実行します。
sudo !!
2. Pythonを利用して簡単なWebサーバーを構築し、通過できます。 http://HOSTNAME:8000アクセス python -m SimpleHTTPServer
3.前回訪問したディレクトリに切り替え cd -
4.前のコマンドのfooをbarに置き換えて実行します。 ^foo^bar
5. tracceroute+ping mtr google.com
6.コマンドを作成するためにエディタを素早く呼び出します。ctrl-x e
7.コマンドを実行しますが、コマンド履歴には保存されません。<space>command
8.端末を再初期化するreset
9.前回のコマンドで使用したパラメータを呼び出します。'ALT+.' or '<ESC> .'
10.現在のシステムにマウントされているファイルシステムをより明確に表示するmount | column -t
11.所定の時間にコマンドを実行するecho "ls -l" | at midnight
12.DNSコンソールでウィキペディアを検索するdig +short txt <keyword>.wp.dg.cx
13.80ポートからローカルの2001ポートにトンネルを開くssh -N -L2001:localhost:80 somemachine
14.快速アクセスASCII表
man ascii
15.外部IPアドレスを取得するcurl ifconfig.me
16. !! 前のコマンドを繰り返し実行することを表します。!!:gs/foo/bar
17.あなたのマイクを遠隔機器のスピーカーに出力するdd if=/dev/dsp | ssh -c arcfour -C username@host dd of=/dev/dsp
18.一時的なメモリパーティションをマウントするmount -t tmpfs tmpfs /mnt -o size=1024m
19.SSH方式でディレクトリ/ファイルシステムをマウントするsshfs name@server:/path/to/folder /path/to/mount/point
20.curlでTwitterを更新する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>