Command Line
Currently work in progress
Currently work in progress
to match terminals between Windows & Mac, use BASH
Mac OS switched to Zsh from BASH
Navigation:
pwd
ls
ls -alt
cd
cd ..
cd ../..
Creator:
mkdir
mkdir folder/name
touch
Reader:
echo "string"
cat file.txt
Operator:
>
<
>>
|
Editor:
rm
rm -r
mv (can rename too)
cp
Finder:
uniq
grep
grep -i
grep -R
wc
wc -w
wc *
wc */*
Keyboard Editor
nano file.txt
nano .bash_profile
Environment Variables:
env -> list all current environment variables
$USER
$HOME
$PATH
sed ('s/snow/water)
Aliases:
alias h="history"