Open present path in finder
$ open .Paste finder path in terminal
Display present terminal path
$ pwdCreate Folder
$ mkdir foldernameCreate File
$ touch filenameDelete Folder and everything it contains
$ rm -rf /insert/path/hereDelete empty folder
$ rmdir /insert/path/hereDelete file
$ rm /the/file/pathSearch command history (very useful)
Ctrl + r and then type a search string.Previous commands
Write output to a file
$ echo hello > abc