ssh <whateverhost> && exit
sudo -i && exit
for item in list ; do someprocessing ; done && exit
Wednesday, 29 February 2012
Rolling out of nested shells
I just realized that if I'm really lazy, I can stick && exit after everything to dump me out of all my nested shells after a program completes.
Subscribe to: Post Comments (Atom)
For anyone who's had to cleanup some mail problems with Postfix configuration (or more often with other things, like anti-spam, tied in ...
In the course of troubleshooting the office Jabber server the other day, I came across some interesting info about the various caches that O...
For everyone who uses cron, you are familiar with the job schedule form: min hr day-of-month month day-of-week <command> A problem...
Using this now. Genius.ReplyDelete