bash

.screenrc

.screenrc # escape escape ^Jj # caption caption always "%{= wb} %-w%{=bu dr}%n %t%{-}%+w %= %{=b wk} [%l] %{=b wb}%y/%m/%d(%D) %{=b wm}%c" # move current bind n screen bind h prev bind j next # encode defkanji utf-8 defencoding utf-8 encod…

カレントディレクトリ以下のファイルから、ある文字列を含んだファイルを見つける方法

findとgrepを率直に使う場合 find . -name '*' -exec grep -Hi '検索する文字' '{}' \; xargsを使って処理速度を上げる場合 find . -name '*' -print0 | xargs -0 grep '検索する文字列' /dev/null 参考 findコマンドの使い方: UNIX/Linuxの部屋

現在のbashrcとbash_profile

bashrc ~/.bashrc PATH=ここにパス PS1="\u@\w$ " export SVN_EDITOR="vim" export GIT_EDITOR="vim" alias j=jobs alias ll="ls -l" today (){ perl -e 'use POSIX 'strftime'; $dir_name = strftime("%Y%m%d", localtime); mkdir $dir_name or die $!;' } …