Skip to content

Instantly share code, notes, and snippets.

View djchie's full-sized avatar

Derrick Chie djchie

View GitHub Profile
@djchie
djchie / bash-cheatsheet.sh
Created May 12, 2016 21:57 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@djchie
djchie / tmux-cheatsheet.markdown
Created May 12, 2016 21:22 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
export PATH=/bin:/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:$PATH
export EDITOR='subl -w'
# Aliases
# Meta aliases
# Opens bash profile
alias bprof="subl -n ~/.bash_profile"
# Refreshes bash profile
alias rbprof="source ~/.bash_profile"