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
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
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!