loading...

Discussion on: BASH tricks: The dir stack.

Collapse
fluffy profile image
fluffy

Ah yeah subshells are great. I mostly use them to gather up the output from a bunch of commands but they’re also great for encapsulating environment. Note that you can also use ;s in them too!