Загрузить файлы в «allscripts1»

This commit is contained in:
2026-03-29 19:22:26 +00:00
parent 3a8b6746b3
commit 18b7eba99d
5 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/bash
apt update
apt upgrade -y

View File

@@ -0,0 +1,13 @@
#!/bin/bash
# 1. Остановить ВСЕ контейнеры
docker stop $(docker ps -aq) 2>/dev/null
# 2. Удалить ВСЕ контейнеры
docker rm $(docker ps -aq) 2>/dev/null
# 3. Удалить ВСЕ образы (включая используемые)
docker rmi $(docker images -q) 2>/dev/null
# 4. Принудительно удалить остатки (если что-то осталось)
docker image prune -af

View File

@@ -0,0 +1,3 @@
#!/bin/bash
wget -r ftp://user:PASSWD@IP/path

7
allscripts1/ifupdown.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
wlan='wlp0s20f3mon'
airmon-ng check kill
ifconfig $wlan down
iwconfig $wlan mode managed
ifconfig $wlan up
service NetworkManager restart

2
allscripts1/obsd.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
obsidian --no-sandbox