guest@dotshare [~/groups/shells/bash] $ ls Alias/ | cat

Alias (raw, dl)

Maran Dec 15, 2021 (shells/bash)
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#---------------------------- Aliases---------------------------------------

# Hotspotshield
alias hs='hotspotshield status'
alias hil='hotspotshield connect il'
alias hd='hotspotshield disconnect'
alias hsg='hotspotshield connect sg'
alias hl='hotspotshield locations'
alias hus="hotspotshield connect us"
alias usphx="hotspotshield connect phx"

# System update and install
alias ug="doas apt update && doas apt full-upgrade"
alias s="apt search"
alias up="doas apt update && apt list --upgradable"
alias i="doas apt update && doas apt install"
alias x=exit
alias c=clear

# gsettings set org.gnome.desktop.wm.preferences button-layout :
# Run the above command in terminal for removing close button

# Neovim
alias vim="nvim"
alias vimedit="vim .config/nvim/init.vim" # To edit init.vim
#alias neovim="/home/maran/Downloads/nvim.appimage"

# Doas - Install doas via sudo apt install doas
# Then create does.conf at /etc/doas.conf
# Write- permit maran as root
alias doas="doas --"

# Internet
alias speedtest="curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python3 -"
alias extip="curl icanhazip.com"
alias ip="curl ipinfo.io"

# sudo apt install youtube-dl
# youtube-dl
alias yta-aac="youtube-dl --extract-audio --audio-format aac "
alias yta-best="youtube-dl --extract-audio --audio-format best "
alias yta-flac="youtube-dl --extract-audio --audio-format flac "
alias yta-m4a="youtube-dl --extract-audio --audio-format m4a "
alias yta-mp3="youtube-dl --extract-audio --audio-format mp3 "
alias yta-opus="youtube-dl --extract-audio --audio-format opus "
alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis "
alias yta-wav="youtube-dl --extract-audio --audio-format wav "
alias ytv-best="youtube-dl -f bestvideo+bestaudio "

# sudo apt install exa
# Changing "ls" to "exa"
alias ls='exa -al --color=always --group-directories-first' # my preferred listing
alias la='exa -a --color=always --group-directories-first'  # all files and dirs
alias ll='exa -l --color=always --group-directories-first'  # long format
alias lt='exa -aT --color=always --group-directories-first' # tree listing
alias l.='exa -a | egrep "^\."'

# Need to install Yacy via terminal from Yacy website
# Yacy Search Engine
alias start="cd yacy && ./startYACY.sh"
alias stop="./stopYACY.sh && .."

# Open .alias
alias short="vim ~/.alias"

CLICK TO VIEW

x

Notes

These are some of the aliases that use