Categories
Terminal

Speed up the tracking of your mouse in Mac

Type this command in the terminal to check the speed you are currently using:

defaults read -g com.apple.mouse.scaling

The default value is usually 3, increase it to your hearts content with this other command. I chose 7.0 as the value I like to use:

defaults write -g com.apple.mouse.scaling  7.0

Restart your machine.

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