/etc/profile
The systemwide initialization file, executed for login shells
~/.bash_profile
The personal initialization file, executed for login shells
~/.bashrc
The individual per-interactive-shell startup file
~/.bash_logout
The individual login shell cleanup file, executed when a login shell exits
~/.inputrc
Individual readline initialization file
아마 특별한 설정없이 자동으로 기록이 남을 겁니다.
아마 특별한 설정없이 자동으로 기록이 남을 겁니다.
last, lastlog, utmp 에 대해 알아보시면 되겠습니다.
https://en.wikipedia.org/wiki/Utmp
~/.bash_logout 이 있기는 합니다. 로그인
~/.bash_logout 이 있기는 합니다. 로그인 쉘에서 동작합니다.
댓글 달기