Aliases
Directory
..
Go back one directory back
...
Go back two directory back
....
Go back three directory back
.....
Go back 4 directory back
~
Go to home directory
--
Toggle between directories
Shortcuts
c
Clear terminal
dl
Change directory to ~/Downloads
dt
Change directory to ~/Desktop
p
Change directory to ~/code
pp
Change directory to ~/code/personal
pw
Change directory to ~/code/work
g
Alias for git
rmd
Remove a directory and all files
7z
Requirements
This alias requires 7zzs
, see https://www.7-zip.org/download.html.
Extract/compress archives using 7-zip - use: 7z <file>
papers
Requirements
This alias requires flatpak
, see https://flatpak.org/setup/ and Papers
, see https://flathub.org/apps/org.gnome.Papers.
Open Papers
Shortcuts for Executables
fs
Requirements
This alias requires eza
, see https://github.com/akshaybabloo/fs_rs.
Get the size of a file or directory
ls
Requirements
This alias requires eza
, see https://github.com/eza-community/eza.
List all files colorized using eza
ll
Requirements
This alias requires eza
, see https://github.com/eza-community/eza.
List all files colorized in long format using eza
cat
Requirements
This alias requires cat
, see https://github.com/sharkdp/bat
Use bat instead of cat to output file contents
top
Requirements
This alias requires btop++
, see https://github.com/aristocratos/btop
Use btop instead of top to monitor system resources
jdk
Requirements
This alias required that you have JDK installed.
Use jdk
to update the default Java version
Other Aliases
grep
fgrep
egrep
reload
Reload the shell (i.e. invoke as a login shell)
path
Print each PATH entry on a separate line
logcat
Requirements
This alisa requires adb
, see https://developer.android.com/studio.
Logcat with colors
fz
Requirements
This alisa requires fzf
, see https://github.com/junegunn/fzf.
Fuzzy find files, preview with bat, and open with VS Code