User Tools

Site Tools


general:linux:bash_aliases_i_use

~/.bash_aliases

# Debian packages are 'bat', 'exa' and 'fd-find'
alias ls='ls --color=auto'
alias n='exa -F'
alias na='exa -a'
alias nn='exa -lgF'
alias nna='exa -algF'
alias no='exa'
 
# I don't use 'fd' or 'bat' so alias to the rust programs since Debian has renamed them.
alias bat='batcat'
alias fd='fdfind'
 
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
 
alias reset2='printf \\x0f'
alias null-2-newline='tr "\000" "\n"'
 
alias psu='ps --ppid 2 --pid 2 --deselect'
alias psk='ps --ppid 2 --pid 2'
 
alias dd-direct='dd oflag=direct conv=fsync bs=8M status=progress'
 
alias g++-sunkan='g++ -g -ggdb -Wall -Wextra -Wconversion -Wpedantic -std=c++11 -pipe'
 
alias ssh-no-strict='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
general/linux/bash_aliases_i_use.txt · Last modified: 2023/06/13 05:34 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki