more default settings i use
This commit is contained in:
15
.scripts/findmtu.sh
Executable file
15
.scripts/findmtu.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
destination_ip="${1:-1.1.1.1}"
|
||||
|
||||
# Set initial packet size
|
||||
packet_size=1200
|
||||
|
||||
# Loop to find the maximum MTU size
|
||||
while true; do
|
||||
ping -4 -M do -c 1 -s $packet_size $destination_ip &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Maximum MTU size: $((packet_size + 28 - 2))"
|
||||
break
|
||||
fi
|
||||
packet_size=$((packet_size + 2))
|
||||
done
|
2
.scripts/flameshot.sh
Executable file
2
.scripts/flameshot.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
flameshot gui
|
Reference in New Issue
Block a user