Skip to content

Instantly share code, notes, and snippets.

@archiewald
Last active April 15, 2019 05:24
Show Gist options
  • Save archiewald/7cc010496c1f0e2197756b54b7287f84 to your computer and use it in GitHub Desktop.
Save archiewald/7cc010496c1f0e2197756b54b7287f84 to your computer and use it in GitHub Desktop.
[handling files/folders] #terminal

handling file/folders

create new folder

mkdir folder-name

delete file

rm some_file

create file

touch some_file

create text-file:

# with VS Code
code some_file

or

# with nano
nano some_file

to put in trash with trash app from brew

trash some_file

show files with hidden ones -a and full information about files -l

ls -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment