The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Sponsored Content
Full Discussion:
A little help please
Top Forums
Shell Programming and Scripting
A little help please
Post 302145615 by porter on Wednesday 14th of November 2007 09:01:08 PM
11-14-2007
porter
Registered User
Quote:
Originally Posted by
immyakram
#!/bin/bash
...
then running it - sh script_name ....
Why not run it
./script_name .....
otherwise adding the "#!/bin/bash" as the first line was a waste of time.
porter
View Public Profile for porter
Find all posts by porter
Member Badges and Information Modal
×