UNIXシェル
リダイレクトのややこしい例
- 標準出力はパイプに流し,標準エラー出力は /dev/null に捨てる場合の書き方は? (bash, tcsh)
(bash) command1 2>&1 2> /dev/null | command2
tcshの場合の書き方はよく分からない(無理かも)
bash
- How to Change Bash Prompt
- Preserve bash history in multiple terminal windows
- Bash's equivalent of Tcsh's ESC-p to jump to command starting with what you typed so far
- http://stackoverflow.com/questions/3086781/bashs-equivalent-of-tcshs-esc-p-to-jump-to-command-starting-with-what-you-type
- tcsh的な履歴の検索キーマップ
- readlineライブラリの設定ファイル .inputrc で設定
$ cat ~/.inputrc "\ep": history-search-backward "\en": history-search-forward