Hi all
If you edit your ~/.bash_logout file,
and add these lines to it:then you will see this message whenever you end your session using Ctrl-D.
If you try to run the commandyou will see that it does not run the echo "bye" code.
Is there maybe another file that we can use for code that is relevant for shutdown?
Thank you
If you edit your ~/.bash_logout file,
and add these lines to it:
Code:
echo "bye"sleep 0.5s
If you try to run the command
Code:
shutdown -P now
Is there maybe another file that we can use for code that is relevant for shutdown?
Thank you
Statistics: Posted by spaceman5 — Thu Aug 29, 2024 4:43 pm