# Show your aliases!

**URL:** <https://forum.endeavouros.com/t/show-your-aliases/79799>\
**Category:** Linux lounge\
**Created:** [May 24, 2026, 8:36am UTC](https://forum.endeavouros.com/t/show-your-aliases/79799 "2026-05-24T08:36:15Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Biotico1974](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/biotico1974/32/101999_2.png) [@Biotico1974](https://forum.endeavouros.com/u/Biotico1974)\
**Post date:** [May 25, 2026, 9:12pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/23 "2026-05-25T21:12:57Z")

</div>

Nothing too fancy

```auto
alias cls="clear"
alias nz="nano ~/.zshrc"
alias sz="source ~/.zshrc" 
alias update="yay -Syu --noconfirm && flatpak update"
alias timesh="sudo timeshift --create --tags D"
alias bk="backup.sh"
alias rescue="TTY_rescue.sh"
alias upck="aunpack -D"
alias pck="apack"
alias ucalibre="sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin"
alias cheat="cat ~/.alias_cheatsheet"
alias sy="~/bin/Syswatch/syswatch"
alias rplasma="systemctl --user restart plasma-plasmashell"

```

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [May 25, 2026, 9:27pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/24 "2026-05-25T21:27:58Z")

</div>

Not an Alias however its a useful function to help find an alias.

```auto

function find_alias() {
	# find all alias of program
	# print value 1 for the alias=command
	# print value 2 shows the command 
    alias | grep "$1" | awk -F= '{print $1, $2}'
}

```

---

<div class="post-metadata">

**Author:** ![manuel](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/manuel/32/396_2.png) [@manuel](https://forum.endeavouros.com/u/manuel)\
**Post date:** [May 26, 2026, 9:28am UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/25 "2026-05-26T09:28:06Z")

</div>

What about simply

```auto
$ alias hash
alias rehash='hash -r'

```

or

```auto
$ alias | grep eha
alias rehash='hash -r'

```

---

<div class="post-metadata">

**Author:** ![milkytwix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/milkytwix/32/84303_2.png) [@milkytwix](https://forum.endeavouros.com/u/milkytwix)\
**Post date:** [May 26, 2026, 11:24am UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/26 "2026-05-26T11:24:22Z")

</div>

> [@Biotico1974](#):
>
> `alias update="yay -Syu --noconfirm && flatpak update"`

This is really risky to use. --noconfirm bricks your system sooner or later.

---

<div class="post-metadata">

**Author:** ![Biotico1974](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/biotico1974/32/101999_2.png) [@Biotico1974](https://forum.endeavouros.com/u/Biotico1974)\
**Post date:** [May 26, 2026, 1:00pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/27 "2026-05-26T13:00:36Z")

</div>

> [@milkytwix](#):
>
> > [@Biotico1974](#):
> >
> > `alias update="yay -Syu --noconfirm && flatpak update"`
> 
> This is really risky to use. --noconfirm bricks your system sooner or later.

Since I’m on Plasma, stopped using it. I update my system using the apdatifier widget.

---

<div class="post-metadata">

**Author:** ![Beiruty](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/beiruty/32/79996_2.png) [@Beiruty](https://forum.endeavouros.com/u/Beiruty)\
**Post date:** [May 26, 2026, 1:01pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/28 "2026-05-26T13:01:29Z")

</div>

me too.

---

<div class="post-metadata">

**Author:** ![shuvashish76](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/shuvashish76/32/90945_2.png) [@shuvashish76](https://forum.endeavouros.com/u/shuvashish76)\
**Post date:** [May 26, 2026, 2:09pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/29 "2026-05-26T14:09:07Z")

</div>

```auto
# pacman and yay
alias up='sudo pacman -Syyu' # Refresh pkglist & update standard pkgs
alias upp='sudo pacman -Syu' # update only standard pkgs
alias upy='yay -Sua --noconfirm' # update only AUR pkgs (yay)
alias upa='yay -Syu --noconfirm' # update standard pkgs and AUR pkgs (yay)
alias unlock='sudo rm /var/lib/pacman/db.lck' # remove pacman lock
alias orphan='sudo pacman -Rns $(pacman -Qtdq)' # remove orphaned packages (DANGEROUS!)

# calibre install/update
alias cup='wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin install_dir=~/calibre-bin isolated=y'

# shutdown or reboot
alias shut='sudo shutdown now'
alias boot='sudo reboot'

# fastfetch
alias ff='fastfetch'

# btop
alias ht='htop'

```

---

<div class="post-metadata">

**Author:** ![MichelN](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/micheln/32/132263_2.png) [@MichelN](https://forum.endeavouros.com/u/MichelN)\
**Post date:** [May 27, 2026, 3:45pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/30 "2026-05-27T15:45:04Z")

</div>

Thanks for the tip!, added that widget on my test computer and it looks nice.

---

<div class="post-metadata">

**Author:** ![anon24169379](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f17d59/32.png) [@anon24169379](https://forum.endeavouros.com/u/anon24169379)\
**Post date:** [May 27, 2026, 3:55pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/31 "2026-05-27T15:55:20Z")

</div>

> [@shuvashish76](#):
>
> ```auto
> # shutdown or reboot
> alias shut='sudo shutdown now'
> alias boot='sudo reboot'
> 
> ```

If you want to skip the “sudo”:

```auto
$ ls -al /usr/bin/reboot 
lrwxrwxrwx 1 root root 9 Apr 22 13:17 /usr/bin/reboot -> systemctl

$ ls -al /usr/bin/poweroff 
lrwxrwxrwx 1 root root 9 Apr 22 13:17 /usr/bin/poweroff -> systemctl

```

---

<div class="post-metadata">

**Author:** ![MyNameIsNobody](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mynameisnobody/32/101931_2.png) [@MyNameIsNobody](https://forum.endeavouros.com/u/MyNameIsNobody)\
**Post date:** [July 21, 2026, 4:51pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/32 "2026-07-21T16:51:12Z")

</div>

#lookup app/file dependencies-thank you [www.adamsdesk.com](http://www.adamsdesk.com)  
alias pkgdep=“pacman -Qq | fzf --preview ‘pactree -lur {} | sort’ --layout reverse --bind ‘enter:execute(pactree -lu {} | sort | less)’”

#updates  
alias new=‘sudo pacman -Syu’

#home  
alias hm=‘cd ~/’

#etc  
alias etc=‘cd /etc’

#usr  
alias usr=‘cd /usr/share’

fastfetch --logo arch

I only added these recently-within the past 3 weeks or so

---

<div class="post-metadata">

**Author:** ![MrSmartepants](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/mrsmartepants/32/113354_2.png) [@MrSmartepants](https://forum.endeavouros.com/u/MrSmartepants)\
**Post date:** [July 21, 2026, 5:33pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/33 "2026-07-21T17:33:01Z")

</div>

~/.config/fish/config.fish

```auto
if status is-interactive
    # Commands to run in interactive sessions can go here
    function update
        command sudo pacman -Syu && flatpak update
        # command yay -Syu && flatpak update
    end
end

```

---

<div class="post-metadata">

**Author:** ![UncleSpellbinder](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unclespellbinder/32/127055_2.png) [@UncleSpellbinder](https://forum.endeavouros.com/u/UncleSpellbinder)\
**Post date:** [July 21, 2026, 6:13pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/34 "2026-07-21T18:13:04Z")

</div>

```auto
alias u='yay -Pw && yay -Syyu && flatpak update && flatpak uninstall --unused'
alias c='clear && fastfetch'
alias r='reboot'
alias e='exit'

```

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [August 3, 2026, 5:43pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/35 "2026-08-03T17:43:57Z")

</div>

some I recently added to my .bashrc file

```auto
#<----[ Security Checks
alias ckaur='traur scan'
alias ckpkgs='archcanary --refresh -full --log-file=/home/thefrog/bin/logs/archcanary-user-`date +'%m-%d-%Y'`' #<----[ check packages without root 
alias ckpkgs-full='sudo /home/thefrog/bin/archcanary --refresh --full --log-file=/home/thefrog/bin/logs/archcanary-root-`date +'%m-%d-%Y'`' #<----[ check packages with root permissions (needed for DKMS scan)

```

---

<div class="post-metadata">

**Author:** ![Beiruty](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/beiruty/32/79996_2.png) [@Beiruty](https://forum.endeavouros.com/u/Beiruty)\
**Post date:** [August 3, 2026, 6:47pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/36 "2026-08-03T18:47:45Z")

</div>

Don’t we have to include git pull before the scan to get the latest code?

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [August 3, 2026, 6:59pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/37 "2026-08-03T18:59:45Z")

</div>

you should yes however instead of typing the whole thing you can alias it or you can put the whole thing including the git part in a function.

function chkpkgs()  
{  
cd /path/to/archcanary  
git pull  
archcanary --refresh -full`  
}

however the app wont have updates every time you need it. The updates are plentiful now as we help narrow down issues. but once the program is “complete” the only thing really needing updating is the list in which everything is checked against.

---

<div class="post-metadata">

**Author:** ![UncleSpellbinder](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unclespellbinder/32/127055_2.png) [@UncleSpellbinder](https://forum.endeavouros.com/u/UncleSpellbinder)\
**Post date:** [August 4, 2026, 1:30pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/38 "2026-08-04T13:30:46Z")

</div>

Current aliases in my `fish.config`…

```auto
if status is-interactive
    # Commands to run in interactive sessions can go here
fastfetch
set fish_greeting
# Update, Arch News, Refresh Repos, Update Flatpak, Remove Unused Flatpak Packages
alias u='yay -Pw && yay -Syu && flatpak update && flatpak uninstall --unused'
# List Flatpak Applications
alias fl='flatpak list --columns name,application'
# Clear Terminal and Show Fastfetch
alias c='clear && fastfetch'
# Reboot System
alias r='reboot'
# Exit Terminal
alias e='exit'
# Completely Remove a Package and Unused Dependencies (Orphans)
alias re='yay -Rns'
# Show Local Weather (Highland, Indiana - U.S.A.)
alias w='curl wttr.in/HighlandIndiana | head -n -1'
end

```

---

<div class="post-metadata">

**Author:** ![swh](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/swh/32/95303_2.png) [@swh](https://forum.endeavouros.com/u/swh)\
**Post date:** [August 4, 2026, 1:35pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/39 "2026-08-04T13:35:30Z")

</div>

> [@UncleSpellbinder](#):
>
> ```auto
> # Show Local Weather (Highland, Indiana - U.S.A.)
> alias w='curl wttr.in/HighlandIndiana | head -n -1'
> 
> ```

Nice, thanks for that weather 🖖

---

<div class="post-metadata">

**Author:** ![thefrog](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/thefrog/32/114250_2.png) [@thefrog](https://forum.endeavouros.com/u/thefrog)\
**Post date:** [August 4, 2026, 1:37pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/40 "2026-08-04T13:37:08Z")

</div>

You can remove the HighlandIndiana and just put a . there for local weather

---

<div class="post-metadata">

**Author:** ![swh](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/swh/32/95303_2.png) [@swh](https://forum.endeavouros.com/u/swh)\
**Post date:** [August 4, 2026, 1:41pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/41 "2026-08-04T13:41:56Z")

</div>

Listen to @thefrog 🖖 A . is enough

---

<div class="post-metadata">

**Author:** ![UncleSpellbinder](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/unclespellbinder/32/127055_2.png) [@UncleSpellbinder](https://forum.endeavouros.com/u/UncleSpellbinder)\
**Post date:** [August 4, 2026, 1:55pm UTC](https://forum.endeavouros.com/t/show-your-aliases/79799/42 "2026-08-04T13:55:13Z")

</div>

I did that initially. It shows the weather for Darien, Illinois…

```auto
╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 08:52:04 AM 
╰─❯ curl wttr.in/. | head -n -1
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 8859 Weather report: Darien, Illinois, US 0

      \ / Sunny
       .-. +69(71) °F
    ― ( ) ― ↑ 6 mph
       `-’ 6 mi
      / \ 0.0 in
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Tue 04 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Partly Cloudy │ \ / Sunny │ \ / Partly Cloudy │ \ / Clear │
│ _ /"".-. +73(77) °F │ .-. +82(87) °F │ _ /"".-. +82(84) °F │ .-. +75(78) °F │
│ \_( ). ↑ 6-7 mph │ ― ( ) ― ↗ 8-9 mph │ \_( ). ↗ 5-7 mph │ ― ( ) ― ↑ 4-8 mph │
│ /(___(__) 6 mi │ `-’ 6 mi │ /(___(__) 6 mi │ `-’ 6 mi │
│ 0.0 in | 11% │ / \ 0.0 in | 5% │ 0.0 in | 5% │ / \ 0.0 in | 7% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Wed 05 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
100 8859 0 8859 0 0 18233 0 0 0
n ne…│ \ / Partly Cloudy │ _`/"".-. Patchy rain ne…│ _`/"".-. Patchy rain ne…│
│ ,\_( ). 69 °F │ _ /"".-. +78(82) °F │ ,\_( ). +82(86) °F │ ,\_( ). +75(78) °F │
│ /(___(__) ↑ 2-3 mph │ \_( ). ↖ 6-8 mph │ /(___(__) ↑ 8-11 mph │ /(___(__) ↑ 6-12 mph │
│ ‘ ‘ ‘ ‘ 5 mi │ /(___(__) 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 5 mi │
│ ‘ ‘ ‘ ‘ 0.1 in | 69% │ 0.0 in | 8% │ ‘ ‘ ‘ ‘ 0.0 in | 14% │ ‘ ‘ ‘ ‘ 0.0 in | 66% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Thu 06 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ _`/"".-. Patchy rain ne…│ _`/"".-. Light rain sho…│ _`/"".-. Light rain sho…│ \ / Clear │
│ ,\_( ). 69 °F │ ,\_( ). +73(77) °F │ ,\_( ). +73(77) °F │ .-. 69 °F │
│ /(___(__) ↓ 2-3 mph │ /(___(__) ← 5-6 mph │ /(___(__) ↙ 6-8 mph │ ― ( ) ― ← 3-5 mph │
│ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ `-’ 6 mi │
│ ‘ ‘ ‘ ‘ 0.0 in | 30% │ ‘ ‘ ‘ ‘ 0.0 in | 36% │ ‘ ‘ ‘ ‘ 0.0 in | 32% │ / \ 0.0 in | 14% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Darien, IL 60561, United States of America [41.7508713,-87.9739593]

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 08:52:13 AM 
╰─❯

```

Adding `HighlandIndiana` instead of `.` shows where I actually am…

```auto
╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 08:54:32 AM 
╰─❯ curl wttr.in/HighlandIndiana | head -n -1
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 8759 0 8759 0 0 20743 0 0
Weather report: HighlandIndiana

      \ / Sunny
       .-. 66 °F
    ― ( ) ― ↑ 6 mph
       `-’ 6 mi
      / \ 0.0 in
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Tue 04 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Sunny │ \ / Sunny │ \ / Sunny │ \ / Clear │
│ .-. 69 °F │ .-. +78(82) °F │ .-. +80(84) °F │ .-. +73(77) °F │
│ ― ( ) ― ↑ 6-8 mph │ ― ( ) ― ↑ 6-8 mph │ ― ( ) ― ↑ 8-11 mph │ ― ( ) ― ↑ 6-13 mph │
│ `-’ 6 mi │ `-’ 6 mi │ `-’ 6 mi │ `-’ 6 mi │
│ / \ 0.0 in | 11% │ / \ 0.0 in | 7% │ / \ 0.0 in | 3% │ / \ 0.0 in | 8% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Wed 05 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Sunny │ _`/"".-. Patchy rain ne…│ \ / Partly Cloudy │ \ / Clear │
│ .-. +71(77) °F │ ,\_( ). +78(80) °F │ _ /"".-. +82(86) °F │ .-. +75(78) °F │
│ ― ( ) ― ↑ 3-4 mph │ /(___(__) ↖ 4-6 mph │ \_( ). ↑ 9-14 mph │ ― ( ) ― ↑ 8-16 mph │
│ `-’ 6 mi │ ‘ ‘ ‘ ‘ 5 mi │ /(___(__) 6 mi │ `-’ 6 mi │
│ / \ 0.0 in | 9% │ ‘ ‘ ‘ ‘ 0.0 in | 21% │ 0.0 in | 6% │ / \ 0.0 in | 8% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
                                                       ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Thu 06 Aug ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ _`/"".-. Patchy rain ne…│ _`/"".-. Light rain sho…│ _`/"".-. Moderate or he…│ _`/"".-. Light rain sho…│
│ ,\_( ). 71 °F │ ,\_( ). +71(77) °F │ ,\_( ). 69 °F │ ,\_( ). 69 °F │
│ /(___(__) ↗ 3-4 mph │ /(___(__) ↘ 1 mph │ /(___(__) ↙ 3-4 mph │ /(___(__) ↘ 1-2 mph │
│ ‘ ‘ ‘ ‘ 6 mi │ ‘ ‘ ‘ ‘ 6 mi │ ‚‘‚‘‚‘‚‘ 4 mi │ ‘ ‘ ‘ ‘ 6 mi │
│ ‘ ‘ ‘ ‘ 0.0 in | 38% │ ‘ ‘ ‘ ‘ 0.0 in | 63% │ ‚’‚’‚’‚’ 0.2 in | 90% │ ‘ ‘ ‘ ‘ 0.0 in | 45% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Highland, Lake County, Indiana, 46322, USA [41.5536529,-87.4520484]

╭─ ~ ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 08:54:50 AM 
╰─❯

```

[Previous page](https://forum.endeavouros.com/t/show-your-aliases/79799.md?page=1)

[Next page](https://forum.endeavouros.com/t/show-your-aliases/79799.md?page=3)
