simple shall programming question
I want to do a fle that every time I write it
"./filename" it goes and do su - password cable-stop killall gaim Poweroff -p I'm sure it's possible, can you help me out on this one? |
#!/bin/sh
su cable-stop killall gaim poweroff -p works better if you actually would use sudo, so it doesn't prompt for password |
All times are GMT -5. The time now is 10:07 AM. |