Загрузить файлы в «allscripts1»
This commit is contained in:
3
allscripts1/auto_update.sh
Normal file
3
allscripts1/auto_update.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
apt update
|
||||
apt upgrade -y
|
||||
13
allscripts1/docker_cleaner.sh
Normal file
13
allscripts1/docker_cleaner.sh
Normal 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
|
||||
3
allscripts1/ftp_get_all.sh
Normal file
3
allscripts1/ftp_get_all.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget -r ftp://user:PASSWD@IP/path
|
||||
7
allscripts1/ifupdown.sh
Normal file
7
allscripts1/ifupdown.sh
Normal 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
2
allscripts1/obsd.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
obsidian --no-sandbox
|
||||
Reference in New Issue
Block a user