How to shutdown the system after file is downloaded?



OP
B

bashcommando

Guest
Or
Code:
#!/bin/sh
export check=0
sudo export check=1
if [$check==1]
then
wget http://path/to/file
sudo poweroff
fi
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online

Members online


Top