DEV Community

Discussion on: 101 Bash Commands and Tips for Beginners to Experts

phlash909 profile image
Phil Ashby

Fabulous readable reference, thanks Andrew!

Minor niggle - almost all of these are not bash commands, but command line tools that work the same from any shell - it would be nice to know what are bash built-ins that might go pop in another shell, and what aren't :)

Long-running advanced voodoo:

  • disown (bash built-in): disconnects background processes from your terminal such that they stay running after you log off.
  • screen (cli tool): opens a new terminal (tty/pty), such that anything you run in that terminal stays running when you disconnect from it / log off. You can also reconnect (screen -r) when you log back in.

I prefer screen over using disown, because of the reconnection ability.

awwsmm profile image
Andrew (he/him) Author

Thanks, Phil! I'll have to do some more research.

Watch out for the "unabridged" version of this in the future.

xhiena profile image

Yes, I was missing those on the SSH section, @andrew really awesome post

david_j_eddy profile image
David J Eddy

I'd like to add tmux to this list of helpful tools. Does similar thing as screen.