トップ
新規
一覧
単語検索
最終更新
ヘルプ
ログイン
アールメカブ
bash_logoutの作成
をテンプレートにして作成
開始行:
[[Linuxの備忘録]]
こんなところでどうでしょうか
# ~/.bash_logout: executed by bash(1) when login shell e...
if [ -f "/home/ishida/Document/svn.sh" ]; then
/home/ishida/Document/svn.sh commit >/dev/null 2>&1
fi
# http://www.mekou.com/~tsuyoshi/writing/NikkeiBP/200411...
MOUNT_POINT=/mnt/landisk
if [ "`df |grep $MOUNT_POINT`" != "" ] && \
[ "`who |grep ^$USER |wc |awk '{print $1}'`" == 1 ];...
umount $MOUNT_POINT >/dev/null 2>&1
fi
# 以下はもともと書き込まれていた処理
# when leaving the console clear the screen to increase ...
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_conso...
fi
終了行:
[[Linuxの備忘録]]
こんなところでどうでしょうか
# ~/.bash_logout: executed by bash(1) when login shell e...
if [ -f "/home/ishida/Document/svn.sh" ]; then
/home/ishida/Document/svn.sh commit >/dev/null 2>&1
fi
# http://www.mekou.com/~tsuyoshi/writing/NikkeiBP/200411...
MOUNT_POINT=/mnt/landisk
if [ "`df |grep $MOUNT_POINT`" != "" ] && \
[ "`who |grep ^$USER |wc |awk '{print $1}'`" == 1 ];...
umount $MOUNT_POINT >/dev/null 2>&1
fi
# 以下はもともと書き込まれていた処理
# when leaving the console clear the screen to increase ...
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_conso...
fi
ページ名: