Categories
Terminal

Check If You are Running 32 or 64 bit OS X

uname -m

Categories
Terminal

Force Empty the Trash

sudo rm -rf ~/.Trash
sudo rm -rf /Volumes/*/.Trashes

Categories
Terminal

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

Design a site like this with WordPress.com
Get started