navi: Add reinstall cheat
This commit is contained in:
parent
4791f009a1
commit
1f7951db4f
@ -6,6 +6,9 @@ sudo apt update && sudo apt upgrade
|
|||||||
# Clean APT
|
# Clean APT
|
||||||
sudo apt autoclean && sudo apt autoremove
|
sudo apt autoclean && sudo apt autoremove
|
||||||
|
|
||||||
|
# Reinstall package
|
||||||
|
sudo apt reinstall ./<deb>
|
||||||
|
|
||||||
# List users
|
# List users
|
||||||
cat /etc/passwd | awk -F: '{ print $1}'
|
cat /etc/passwd | awk -F: '{ print $1}'
|
||||||
|
|
||||||
@ -57,3 +60,4 @@ $ interface: ip link | grep "^[0-9]*:" | sed "s/[0-9]*: \(.*\):.*/\1/" | awk -F:
|
|||||||
$ ip: ip addr show dev <interface> | grep "inet " | sed "s/ *inet \([^ ]*\) .*/\1/" | awk -F: '{ print $1}'
|
$ ip: ip addr show dev <interface> | grep "inet " | sed "s/ *inet \([^ ]*\) .*/\1/" | awk -F: '{ print $1}'
|
||||||
$ file_1: ls | awk -F: '{ print $1}'
|
$ file_1: ls | awk -F: '{ print $1}'
|
||||||
$ file_2: ls | awk -F: '{ print $1}'
|
$ file_2: ls | awk -F: '{ print $1}'
|
||||||
|
$ deb: ls *.deb | awk -F: '{ print $1}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user