Files
dotfiles/usefulcommands.txt

37 lines
1.8 KiB
Plaintext

Tmux/Tmuxinator
ta='tmux attach -t'
ts='tmux new-session -s'
tl='tmux list-sessions'
tkw='tmux kill-window'
tksv='tmux kill-server'
tkss='tmux kill-session -t'
Pacman/Yaourt (For yaourt replace pac with ya)
pacupg='sudo pacman -Syu' # Synchronize with repositories before upgrading packages that are out of date on the local system.
pacin='sudo pacman -S' # Install specific package(s) from the repositories
pacins='sudo pacman -U' # Install specific package not from the repositories but from a file
pacre='sudo pacman -R' # Remove the specified package(s), retaining its configuration(s) and required dependencies
pacrem='sudo pacman -Rns' # Remove the specified package(s), its configuration(s) and unneeded dependencies
pacrep='pacman -Si' # Display information about a given package in the repositories
pacreps='pacman -Ss' # Search for package(s) in the repositories
pacloc='pacman -Qi' # Display information about a given package in the local database
paclocs='pacman -Qs' # Search for package(s) in the local database
pacinsd='sudo pacman -S --asdeps' # Install given package(s) as dependencies of another package
pacmir='sudo pacman -Syy' # Force refresh of all package lists after updating /etc/pacman.d/mirrorlist
paclist
paclsorphans
pacrmorphans
Z
-c restrict matches to subdirectories of the current directory.
-h show a brief help message
-l list only
-r match by rank only
-t match by recent access only
General
cd - : Go to previous directory
pushd/popd : Traverse directory stack
sudo !! : Repeat last command with sudo
screenfetch/archey3 : Display pretty system info