LoginSignup
5
5

More than 5 years have passed since last update.

ShellTipsに便乗してみる

Posted at

おもいつくままに書いてみる

シェルでパスワード入力プロンプトでるじゃないですか。途中まで打って間違えたとするじゃないですか。Ctrl + u 打つとリセットできるの知ってた? 俺は知ってた

Ctrl + [BackSpace]で一文字(見えないケド)消せる。

cd -
で前のディレクトリに戻る

$ mkdir tmp
$ cd !$

で作成したディレクトリに移動する(!$は一つ前のコマンドの最後の引数)
 
wc -l より grep -c "" のが早い。

 
あんまり思いつかなかった・・・

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5