Hi, I want to edit a shell shript file which name is mydate. But How can I run this shell shript file. Someone told me to use "chomd +x mydate", but what meaning it is and where I should use!
chmod +x mydate makes the script mydate executable. If you want to run the script as root you can do it via ./mydate if you are in the same directory or via full pathname like /path/to/mydate If your script doesn't contain a she-bang (eg. #!/bin/sh in the first line) you have to call it
Thanks a lot!Alex