add sdmt for showing systemd mounts

move apt alias to host for loading in a specific host
move old unneeded alias to archive
master
Kebler Network System Administrator 2023-02-07 09:18:52 -08:00
parent a13395e205
commit 7c9994afc9
9 changed files with 8 additions and 36 deletions

View File

@ -1 +0,0 @@
alias aud="acladduserdir"

View File

@ -1,12 +0,0 @@
# apt package manager
alias installa="sudo apt-get install"
alias reinstall="sudo apt install --reinstall"
# change depending on distro - need to have backports loaded in apt sources
# FYI can just load individual binaries from the wiki using deb files say from testing or unstable
alias remove="sudo apt-get remove"
alias aremove="sudo apt-get autoremove"
alias purge="sudo apt-get purge"
alias update="sudo apt-get update"
alias pkgst="apt policy"
alias esources='sudo nano /etc/apt/sources.list.d/'
alias ppa='sh -c '\''sudo add-apt-repository ppa:$1/ppa'\'' _'

View File

@ -1,2 +0,0 @@
alias gspa="git subrepo push --all"
alias gpom="git pull origin master" # update repo from default remove

View File

@ -1,4 +0,0 @@
# i2c
alias i2cs='i2cdetect -y 1'
alias erpic='sudo editor /boot/config.txt'
alias gerpic='gksu pluma /boot/config.txt'

View File

@ -1,5 +0,0 @@
# bring an interface up or down
alias nid="sudo ip link set down"
alias niu="sudo ip link set up"
# restart wan interface including networkd restart
alias nir1="nid wan && niu wan && nwr"

View File

@ -1,3 +0,0 @@
alias sports='dmesg | egrep --color "serial|tty"'
alias connewest='screen $(ls -tw 1 /dev/tty* | head -1) 115200'
alias conacm0='screen /dev/ttyACM0 115200'

View File

@ -1,9 +0,0 @@
alias ebashrc="gedit $HOME/.bashrc"
alias eetcbashrc="sudo gedit /etc/bash.bashrc"
alias eetcprofile="sudo gedit /etc/profile"
alias eprofile="gedit $HOME/.bash_profile"
alias cbashrc="cp $HOME/.bashrc $BASH_SHELL_BASE/setup/user"
alias cetcbashrc="cp /etc/bash.bashrc $BASH_SHELL_BASE/setup/etc"
alias cprofile="cp $HOME/.bash_profile $BASH_SHELL_BASE/setup/user"
alias cetcprofile="cp /etc/profile $BASH_SHELL_BASE/setup/etc"

View File

@ -9,3 +9,4 @@ alias sdla="systemctl list-units | grep"
alias sdl="systemctl list-unit-files | grep"
alias sdle="systemctl list-unit-files | grep enabled"
alias sdpidu="systemctl show --property MainPID --value"
alias sdmt="sudo systemctl list-units -t mount --all"

View File

@ -2,3 +2,10 @@
# initial binary available as s<name> as in super
alias find="_find"
alias sfind="command find"
alias mdl="module_load"
alias mdr="module_run"
alias mdc="module_cp"
alias mdf="module_find"
alias mdp="module_print"