layout | title | permalink |
---|---|---|
blog |
Readme |
/readme.html |
jekyll serve --host $IP --port $PORT --baseurl ''
cmd &
- Run in background
ps aux
BSD style - The options in bsd style syntax are not preceded with a dash.
ps -ef
kill pid
- Kill a process.
jekyll build
UNIX/LINUX style - The options in linux style syntax are preceded by a dash as usual.
$ echo 'alias server="rails server -b $IP -p $PORT"' >> ~/.bashrc
To quit writing to the file - :x
To quite without to the file = :q!
To close - :q
To Write/saves - :w
vi filename
git stash
- to stash the current working area
git stash list
- to get the git stash list
git stash apply
- to apply to stashed changes
git stash drop
- to remove an item from the stash list
alias sublime="open -a /Applications/Sublime\ Text.app"
Launch sublime from terminal