Bash: Hello World
Posted on 09. Feb, 2009 by testuser
Just a simple script echoing "Hello World".
#!/bin/bashif [ "$USER" = "root" ]then echo "Hello world"fi
| Attachment | Size |
|---|---|
| helloworld.sh | 35 bytes |
Comments
Precis det scriptet jag letade efter!
Vilken tur att jag skapade just detta.
Jag hade tillfällen som det du står för i åtanke.
You are aware of the fact that only root will react on this script? ;-)