Skip to content

Aliases

Directory

..

source

Go back one directory back

...

source

Go back two directory back

....

source

Go back three directory back

.....

source

Go back 4 directory back

~

source

Go to home directory

--

source

Toggle between directories

Shortcuts

c

source

Clear terminal

dl

source

Change directory to ~/Downloads

dt

source

Change directory to ~/Desktop

p

source

Change directory to ~/code

pp

source

Change directory to ~/code/personal

pw

source

Change directory to ~/code/work

g

source

Alias for git

rmd

source

Remove a directory and all files

7z

source

Requirements

This alias requires 7zzs, see https://www.7-zip.org/download.html.

Extract/compress archives using 7-zip - use: 7z <file>

papers

source

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

source

Requirements

This alias requires eza, see https://github.com/akshaybabloo/fs_rs.

Get the size of a file or directory

ls

source

Requirements

This alias requires eza, see https://github.com/eza-community/eza.

List all files colorized using eza

ll

source

Requirements

This alias requires eza, see https://github.com/eza-community/eza.

List all files colorized in long format using eza

cat

source

Requirements

This alias requires cat, see https://github.com/sharkdp/bat

Use bat instead of cat to output file contents

top

source

Requirements

This alias requires btop++, see https://github.com/aristocratos/btop

Use btop instead of top to monitor system resources

jdk

source

Requirements

This alias required that you have JDK installed.

Use jdk to update the default Java version

Other Aliases

grep

source

fgrep

source

egrep

source

reload

source

Reload the shell (i.e. invoke as a login shell)

path

source

Print each PATH entry on a separate line

logcat

source

Requirements

This alisa requires adb, see https://developer.android.com/studio.

Logcat with colors

fz

source

Requirements

This alisa requires fzf, see https://github.com/junegunn/fzf.

Fuzzy find files, preview with bat, and open with VS Code