Skip to content

Command Line Tricks

https://www.youtube.com/watch?v=wYN3KC9lLS0

1. Creating multi. directories

  • use mkdir {} to make multiple directories

  • the -p is an optional parameter, telling where the parent directory is

    • You can use this to tell where to create the directory
  • {a,b} creates two folders

  • {x,y,z} creates the same folders (x,y,z) in both a and b folders

2. cd - takes you back to your previous directory regardless of where you are now