uname -m
Tag: Terminal
Categories
Force Empty the Trash
sudo rm -rf ~/.Trash
sudo rm -rf /Volumes/*/.Trashes
Categories
Basic Terminal Commands
Moving up a directory:
cd ..
Moving to the root:
cd
See where on the filesystem you are:
pwd
Check permissions on a specific folder:
ls -ld directory
Changing permissions (read, write and execute) for files and folder recursively:
chmod -R 777 /Users/Test/Desktop/PATH
or when inside the folder:
sudo chmod -R 777 .
Check permissions of a file/directory:
ls -la
Who you are and your group:
whoami
id
Change directory to .SSH and list keys
cd ~/.ssh/
ssh-add -l