Bash

Auto log-out shell after idle time

PDF

It is possible to configure BASH to log-out a user automatically after a certain idle-time. This can be done by appending the seconds in TMOUT variable in the bash start-up script.

Append the seconds in your BASH startup script (~/.bashrc)

 

Aliases

PDF

Some faced the fact that they accidentally deleted a file using the command rm. Standard rm doesn't ask for confirmation, for forcing confirmation must be called with the option -i to run interactive. You can use an alias for rm to by adding:

Tags:
 
Page 2 of 2

Search






You are here: Home Howtos and FAQs Bash