wiki/docs/cmnds/linux-commands.md
sthope c804100311
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-07-24 00:51:13 +02:00

365 B

Send command every X seconds automatically

Replace {{command}} with your command and {{seconds}} with number of seconds you want between each message.

while true;do {{command}};sleep {{seconds}}; done

Sudo with password 1-line

Replace {{password}} with root password

echo {{password}} | sudo -S apt-get update && sudo apt-get upgrade -y