Created lørdag 22 oktober 2016
Add to your ~/.bashrc/.zshrc file for permanent settings.
ls
alias ls='ls --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' alias la='ls -la --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F' alias ll='ls -ll --group-directories-first --time-style=+"%d.%m.%Y %H:%M" --color=auto -F'
cp
# confirm before overwrite (verbose) alias cp="cp -iv"
mkdir
# create parent folders too alias mkdir="mkdir -pv"
cd
# even when you forget the space alias cd..="cd .."
grep
# Colorful grep alias grep='grep --color=tty -d skip'
df
# human readable size and a total amount alias df="df -Tha --total"
free
# human readable size alias free="free -mt"
top
# requires htop packages (better top view) alias top="htop"
wget
# enables you to resume a download if something went wrong alias wget="wget -c"
File Utilities
# Mother of aliases! Makes the typical fileutils more verbose
for c in cp rm chmod chown rename; do alias $c="$c -v" done
List of Keks
# Because why not?
# Logs alias wtf='dmesg' # mkdir, rm, cp and mv alias icanhas='mkdir' alias donotwant='rm' alias dowant='cp' alias gtfo='mv' # cd and pwd alias hai='cd' alias plz='pwd' # killall alias nomnom='killall' # reboot and shutdown alias cya='reboot' alias kkthxbye='halt'