Dear linoxide geek,
In this tutorial we will teach you how to autoclose your terminal after a specified number of seconds of inactivity. Ok, open a new terminal because we have some work to do.
1. Run the following command to open /etc/profile for editing.
sudo vim /etc/profile
2. Go at the end of the file and add the following.
TMOUT=specify the number of seconds here
3. Now, run the following command to apply the new change
sudo source /etc/profile
You might also like