Slides for command line presentation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
img
js
lib
plugin
screenshots
test
.gitignore
.travis.yml
Gruntfile.js
LICENSE
README.md
index.html
package.json
ssh_proxy.md

README.md

Command and Conquer

Resources

Dotfiles

Zsh

Tmux

Remote Pair Programming

Terminal Improvements

Terminal emulators for Windows:

Commands and Functions

# file manipulation

# create file
touch file_name

# remove file
rm file_name

# move file (or directory)
mv old_dir/file new_dir/file

# rename file (or directory)
mv old_file_name new_file_name


# directory manipulation

# create directory
mkdir dir_name

# remove (empty) directory
rmdir dir_name

# remove (non-empty) directory
# be careful with this one!!!
rm -rf dir_name

# creating an alias
alias pro='cd ~/Documents/projects'

# searching aliases
alias | grep "search term"

# searching history
history | grep "search term"


# fun with functions!

# make a directory and cd into it (works recursively)
mkcd() { mkdir -p "$@" && cd "$_"; }

# same as above, but also intialize git repo
new(){ mkcd $@ && git init }


# tmux

# create new tmux session
tmux new

# create new tmux session (with name)
tmux new -s "session_name"

# list tmux sessions
tmux ls

# attach to tmux session
tmux attach -t "session_name"