 Hello, and welcome to this video by filmsbychrist.com. That's Chris at the K. Today we're going to be looking at the timeout variable or the TM out variable for your shell. This is a variable that you can set and give it a number of seconds, and that will be how long until the shell times out after the last command was run. You can, this can be useful, especially if you're like a system admin, maybe you're at a screen and maybe you're doing stuff as root. And you want to make sure that you don't forget to close that shell so you can set the timeout and you can probably put this in your bash, or your zrc file for a z shell or whatever shell you're running. And that way if you don't run a command in a certain number of seconds, it will close out your shell. So that variable is called TM out, all capital, so TM out, and then you give it a number of seconds so I can say five. And now that I've done that, I've got a few shells here open just to show you. After five seconds, that shell will close. I can run that TM out and I can say five seconds. But if I was to run date, date, date, date, see I'm running commands, my shell is not going to time out. But as soon as I stopped running commands after five seconds, that shell should close. Great. Now, TM out equals, and we will say five seconds again, be aware that it is after the last command was run. So I could still be typing out a big long command, but after five seconds, this shell will close even though I was typing something. So it's running commands. So again, TM out, you can set something to like 60 seconds or if you want to do 10 minutes, you can do 600 seconds or you can do six seconds. And again, I can run date, run date. And that will start that timer over again, but after date, I should be able to go one, two, three, four, five, and six. There we go. So that is the time out variable for your shell. I've checked it in bash and in Z shell and it's set for both of those. It seems like it's a pretty standard thing. And again, it can be very useful if you just don't want to leave your shell open, especially if you're doing things as a root user and you might get distracted and walk away from the keyboard and then it's your root shell's open. And most modern systems now, if you use sudo, sudo will store your passwords for a set amount of time. So you might want to set your time out for less than that so that if you haven't typed a command in one minute, it will exit out, but also be careful. You don't want to exit out in the middle of you doing something. Anyway, this was a quick little video to show you the time out variable for your shell. I thank you for watching. And you should be able to, I haven't checked this, but since it's a variable, I should be able to say time out like this and I don't have it set, but if I set time out equal to five and then run that. So if you're curious of what your time out is, that is how you would check that. So that is all, just close my shell. Thank you for watching. Visit filmsbychrist.com, that's Chris the K. This has been fun. Have a great day.