From 7c9994afc91e2103fe06103c8ac291fe9b50fcc8 Mon Sep 17 00:00:00 2001 From: kebler Date: Tue, 7 Feb 2023 09:18:52 -0800 Subject: [PATCH] add sdmt for showing systemd mounts move apt alias to host for loading in a specific host move old unneeded alias to archive --- alias/acl | 1 - alias/apt | 12 ------------ alias/git | 2 -- alias/iot | 4 ---- alias/iproute | 5 ----- alias/serial | 3 --- alias/shell | 9 --------- alias/systemd/root | 1 + alias/{superceed => uci-shell} | 7 +++++++ 9 files changed, 8 insertions(+), 36 deletions(-) delete mode 100644 alias/acl delete mode 100644 alias/apt delete mode 100644 alias/git delete mode 100644 alias/iot delete mode 100644 alias/iproute delete mode 100644 alias/serial delete mode 100644 alias/shell rename alias/{superceed => uci-shell} (53%) diff --git a/alias/acl b/alias/acl deleted file mode 100644 index 5cad5c8..0000000 --- a/alias/acl +++ /dev/null @@ -1 +0,0 @@ -alias aud="acladduserdir" \ No newline at end of file diff --git a/alias/apt b/alias/apt deleted file mode 100644 index e8cc609..0000000 --- a/alias/apt +++ /dev/null @@ -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'\'' _' diff --git a/alias/git b/alias/git deleted file mode 100644 index 77de38c..0000000 --- a/alias/git +++ /dev/null @@ -1,2 +0,0 @@ -alias gspa="git subrepo push --all" -alias gpom="git pull origin master" # update repo from default remove diff --git a/alias/iot b/alias/iot deleted file mode 100644 index da7ca87..0000000 --- a/alias/iot +++ /dev/null @@ -1,4 +0,0 @@ -# i2c -alias i2cs='i2cdetect -y 1' -alias erpic='sudo editor /boot/config.txt' -alias gerpic='gksu pluma /boot/config.txt' diff --git a/alias/iproute b/alias/iproute deleted file mode 100644 index 5b6f889..0000000 --- a/alias/iproute +++ /dev/null @@ -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" diff --git a/alias/serial b/alias/serial deleted file mode 100644 index 758b467..0000000 --- a/alias/serial +++ /dev/null @@ -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' diff --git a/alias/shell b/alias/shell deleted file mode 100644 index 0b6a771..0000000 --- a/alias/shell +++ /dev/null @@ -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" diff --git a/alias/systemd/root b/alias/systemd/root index 52cb476..ac4fd94 100644 --- a/alias/systemd/root +++ b/alias/systemd/root @@ -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" diff --git a/alias/superceed b/alias/uci-shell similarity index 53% rename from alias/superceed rename to alias/uci-shell index 7b667ab..c0d2d7b 100644 --- a/alias/superceed +++ b/alias/uci-shell @@ -2,3 +2,10 @@ # initial binary available as s 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" +