add sdmt for showing systemd mounts
move apt alias to host for loading in a specific host move old unneeded alias to archivemaster
parent
a13395e205
commit
7c9994afc9
12
alias/apt
12
alias/apt
|
@ -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'\'' _'
|
|
|
@ -1,2 +0,0 @@
|
||||||
alias gspa="git subrepo push --all"
|
|
||||||
alias gpom="git pull origin master" # update repo from default remove
|
|
|
@ -1,4 +0,0 @@
|
||||||
# i2c
|
|
||||||
alias i2cs='i2cdetect -y 1'
|
|
||||||
alias erpic='sudo editor /boot/config.txt'
|
|
||||||
alias gerpic='gksu pluma /boot/config.txt'
|
|
|
@ -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"
|
|
|
@ -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'
|
|
|
@ -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"
|
|
|
@ -9,3 +9,4 @@ alias sdla="systemctl list-units | grep"
|
||||||
alias sdl="systemctl list-unit-files | grep"
|
alias sdl="systemctl list-unit-files | grep"
|
||||||
alias sdle="systemctl list-unit-files | grep enabled"
|
alias sdle="systemctl list-unit-files | grep enabled"
|
||||||
alias sdpidu="systemctl show --property MainPID --value"
|
alias sdpidu="systemctl show --property MainPID --value"
|
||||||
|
alias sdmt="sudo systemctl list-units -t mount --all"
|
||||||
|
|
|
@ -2,3 +2,10 @@
|
||||||
# initial binary available as s<name> as in super
|
# initial binary available as s<name> as in super
|
||||||
alias find="_find"
|
alias find="_find"
|
||||||
alias sfind="command 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"
|
||||||
|
|
Loading…
Reference in New Issue