Software Engineer Return Path / Context.IO
There are a lot of misconceptions of what the command line can do.
PC users, I will cover you in a bit!
The application / GUI
Program processes the commands
There are different types of shells!
Developed by Stephen Bourne in 1977!
Not the first shell ever, but the one that most other shells are "based" on.
bash = Bourne Again Shell (1989)
Get it? Because the inventor of sh is Stephen Bourne?
We'll come back to those!
$ pwd
Print Working Directory
Don't be afraid to use it! Use it all the time!
$ ls
LiSt files in a directory
$ ls -a
LiSt files and hidden 👻 files in a directory
$ pwd
$ ls
$ cd
REPEAT
$mkdir
MaKe a DIRectory
$ touch
Create a file
$ mkdir test && cd test && pwd && touch test.txt && ls
defaults write com.apple.finder CreateDesktop -bool false;killall Finder
defaults write com.apple.finder CreateDesktop -bool true;killall Finder
Use aliases for that!
Like custom "autocorrect" in iOS
alias hideDesktop="defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app"
Set this in a .bash_profile
http://brew.sh
Install and manage tons of stuff!
$ brew cask install google-chrome
Create a simple bash script that installs applications
setup.sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install google-chrome
brew cask install spotify
brew cask install iterm2
brew cask install sublime-text
cecy.co/cli-for-n00bs