@travisdh1 said in BRRABill's Field Report With Linux:
@BRRABill said in BRRABill's Field Report With Linux:
@travisdh1 said in BRRABill's Field Report With Linux:
@BRRABill said in BRRABill's Field Report With Linux:
How long does
sudo -s
last for?
Forever, it runs whatever is the default shell. So if you're using bash it's exactly like
sudo bash
But I mean, if you log off, does it retain? AKA, do you have to do something to turn it off?
You have to exit from that shell. Normally, that's how we'd logoff of an ssh session. On a desktop, logging out should close all user land apps, which include shell sessions.
To keep a shell session running you'd want to use screen and detach the session. Other programs can do the same thing, but I'm forgetting what the newer ones are.
Got it, OK.