how to make good one liners in bash
- use semicolon
- use &&
How to mkdir and then cd into it
- dollarsign underscore
- that lets you cd into the new dir you just made
“this is what you would type to move from your desktop, make a new folder called music and cd into that folder.”
cd desktop; mkdir music && cd$_
No comments:
Post a Comment