~$ cat .bash_profile find ~/screen.log/ -mtime +30 -print0 | xargs -0 rm -rf & #disabling_gnu_screen_lock_screen export LOCKPRG='/bin/true' read -t 10 -p "Hit ENTER or wait ten seconds" || screen -r -d -U || screen -U
参考:
stackoverflow.com
gunshot.hatenablog.com
gunshot.hatenablog.com