navi: Update misc sheet
This commit is contained in:
parent
d56540efb8
commit
cb8eb77b60
@ -36,7 +36,10 @@ sudo usermod -a -G <group> <user>
|
|||||||
# Remove user from a group
|
# Remove user from a group
|
||||||
sudo deluser <user> <group>
|
sudo deluser <user> <group>
|
||||||
|
|
||||||
# Port binding
|
# List port bindings
|
||||||
|
sudo lsof -i -P -n | grep LISTEN
|
||||||
|
|
||||||
|
# Show binding on a port
|
||||||
sudo lsof -i:<port>
|
sudo lsof -i:<port>
|
||||||
|
|
||||||
# Get IP on interface
|
# Get IP on interface
|
||||||
@ -51,6 +54,9 @@ meld <(hexdump -C <file_1>) <(hexdump -C <file_2>)
|
|||||||
# Compare 2 files (bcompare)
|
# Compare 2 files (bcompare)
|
||||||
bcompare <file_1> <file_2>
|
bcompare <file_1> <file_2>
|
||||||
|
|
||||||
|
# Replace expression in files
|
||||||
|
ack -rl "<expression>" | xargs sed -i 's#<expression>#<replace_expression>#g'
|
||||||
|
|
||||||
# Disable Bluetooth ERTM
|
# Disable Bluetooth ERTM
|
||||||
sudo bash -c "echo Y > /sys/module/bluetooth/parameters/disable_ertm"
|
sudo bash -c "echo Y > /sys/module/bluetooth/parameters/disable_ertm"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user