ALL ABOUT TERMINAL COMMANDS IN MAC EASY LESSON

This is a beginner lesson about terminal commands in a Mac. To get familure please watch the video below. You too can practice the terminal commands on this page with your own Mac.

Remember if you are having trouble you can always schedule a one on one with Max the web developer here.

FILE PATHS

cd

Only cool people share!

ls

NAVIGATE TO 1 FOLDER ABOVE

cd ../

MAKE A DIRECTORY

mkdir

MAKE A FILE

touch

REMOVE A FILE

rm

MOVE FILES

mv

CLEAR TERMINAL

clear

DOWNLOAD FILES OUTSIDE YOUR BROWSER

cd ~/Downloads/
curl -O https://a1websitepro.com/wp-content/uploads/2014/09/LogoA12.png

CHANGE SCREENSHOT FILE FORMAT

defaults write com.apple.screencapture type jpg

CHANGE LOCATION OF SCREEN SHOTS

defaults write com.apple.screencapture location ~/your/location/here
killall SystemUIServer

SEE HOW LONG MAC HAS BEEN RUNNING

uptime

KEEP YOUR MAC AWAKE

caffeinate

SET NUMBER OF SECONDS MAC KEEPS AWAKE

caffeinate -u -t 5400

REFRESH MAC IF IT CRASHES

sudo systemsetup -setrestartfreeze on

HIDE NON ACTIVE APPS IN YOUR DOC

defaults write com.apple.dock static-only -bool TRUE
killall Dock

ALL ABOUT TERMINAL COMMANDS IN MAC EASY LESSON was last modified: November 18th, 2020 by Maximus Mccullough
all-about-terminal-commands-in-a-mac

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.