-
Notifications
You must be signed in to change notification settings - Fork 0
/
ugar.sh
executable file
·40 lines (40 loc) · 2.34 KB
/
ugar.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/bash
###############################################################################
#Script Name : ugar.sh
#Description : execute multiple commands on multiple servers
#Author : JonatanHN
#Email : [email protected]
################################################################################
echo ' '
echo ' '
echo '------------------------------------------------------------'
echo ' $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$$\'
echo ' $$ | $$ |$$ __$$\ $$ __$$\ $$ __$$\'
echo ' $$ | $$ |$$ / \__|$$ / $$ |$$ | $$ |'
echo ' $$ | $$ |$$ |$$$$\ $$$$$$$$ |$$$$$$$ |'
echo ' $$ | $$ |$$ |\_$$ |$$ __$$ |$$ __$$< '
echo ' $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |'
echo ' \$$$$$$ |\$$$$$$ |$$ | $$ |$$ | $$ |'
echo ' \______/ \______/ \__| \__|\__| \__|'
echo '---------------------pwd by JonatanHN-----------------------'
echo ' '
echo ' '
echo 'EJECUTANDO VERIFICACION DE ACTUALIZACIONES DE DEPENDENCIAS'
echo ' '
echo ' '
apt update >/dev/null 2>&1
echo ' '
echo ' '
echo 'EJECUTANDO ACTUALIZACIONES DE DEPENDENCIAS'
echo ' '
echo ' '
apt upgrade;
echo ' '
echo ' '
echo 'EJECUTANTO AUTOREMOVE PARA ELIMINAR DEPENDENCIAS DUPLICADAS'
echo ' '
echo ' '
apt autoremove >/dev/null 2>&1
echo ' '
echo ' FINALIZACION DEL SCRIPT '
echo ' '