Environment - jasper-zanjani/dotfiles GitHub Wiki

screen

Share your screen session with another user

screen -x user/session

stty

Return number of rows and columns of the terminal

stty size

tmux

--- | --- Config | ~/.tmux.conf

Change prefix to vim-style $KEYCOMBO (C-b by default)

set-option -g prefix $KEYCOMBO

Name a new session

tmux new-session -s 'my rails project'

tput

Return width of current terminal window

tput cols 

Return height of current terminal window

tput lines

watch

Execute $CMD at periods of $N seconds, watching its output CLKF

watch $CMD -n $N

Check memory usage in megabytes (-m) every 5 seconds Enki

watch -n 5 free -m
⚠️ **GitHub.com Fallback** ⚠️