•  
  • Home
  • Privacy Policy old
  • Me, about
  • Contact

Posted:
January 12, 2009

Tags:
linux, Shell script, UNIX

Comments: 0

Linux run shell script from terminal window

I don’t use shell scripts too often and had a brain dead moment on how to execute a shell script.

So, for the dummies :-), here’s a summary so next time I forget I can quickly look at my posts:

For Creating Shell programs
# vi filename.sh (vi is one of many text editors for linux systems)

For Running Shell Programs
# sh filename.sh
or
# chmod 744 filename.sh (you need to change the permission so you, the owner, can execute the script)
#./filename.sh


  • linux
  • Shell script
  • UNIX

Share This Post

  • Facebook
  • Twitter
  • Google Plus
  • Pinterest

Related Posts

Leave A Comment

Click here to cancel reply.

Name*

Mail*

Website

Blogroll

  • Mount Annan
  • Blog3
  • Contact
  • Guest Posts
  • Home
  • Me, about
  • Privacy Policy
  • Privacy Policy old
  • Terms
  • Yop Poll Archive

Powered by Socrates