mcd mkdir -p $1 && cd $1
l ls -lh
ll ls -lah
la ls -ah
dir ls -lhR --color=auto | less
llog less /var/log/syslog
tlog less +F /var/log/syslog
acs apt-cache search
acsh apt-cache show
agi apt-get install
agud apt-get update
agug apt-get upgrade
agdug apt-get dist-upgrade
pacupg
:pacman -Syu
Sync repos and upgrade packagespacin
:pacman -S
Install packagepacre
:pacman -R
Remove package but keep config and depspacrem
:pacman -Rns
Remove package with config and depspacinfo
:pacman -Si
Display info about a repo packagepacs
:pacman -Ss
Search the repo for a packagepacloc
:pacman -Qi
Display info about a local packagepaclocs
:pacman -Qs
Search local installed package
L | less -M
G | grep -i --color
T | less +F -M
-
Esc-h
Show help for first word in cmdline -
Esc-i
Trigger completion -
Esc-e
Edit commandline in vim -
Ctrl-i d
Insert timestamp (YYYY-MM-DD) -
Ctrl-o s
Prefix commandline with sudo -
Ctrl-space
Expand abbreviations -
In complete-mode:
Ctrl-n
Take selection and complete againEsc return
Take selection as argument, dont close completion
greph
History grepnew
List files modified within the last X daysH-Glob
Globbing helpH-Abbrevs
List of defined abbreviationscalc
A tiny calculator
- `**/*.pdf recursive all pdf-files
- `**/*(.) recursive all files
- `**/*(/) recursive all directories
(f:gu+w,o-rx)
Permissions(u:user)
User match(g:group)
Group match^
Negate all following qualifier
zmv '(*).bak' '$1'
Umbenennen mit regexfor i (*.eps) epstopdf $i