For better understanding, you may need inotifywait
to verify it by yourself, mine is running under Ubuntu 20.04 LTS.
- Install
sudo apt-get install -y inotify-tools
- Run
inotifywait
in a tmux tab as below. - Start a new pane in tmux by
CTRL^B + "
- You may see
.bash_profile
get OPENED - Exit the tmux pane.
- You may see
.bash_logout
get OPENED
$ inotifywait -mr -e OPEN ./.profile ./.bashrc ./.bash_profile ./.bash_logout
Setting up watches. Beware: since -r was given, this may take a while Watches established.
./.bash_profile OPEN
./.bash_logout OPEN