Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-30-2006, 05:32 AM   #1
Registered: Oct 2005
Location: Bangladesh
Posts: 497

Rep: Reputation: 30
Question Script Problem

Dear friends ,

Normally I use "!/bin/sh" cammand , when i write a script .
But i don't understand why "this command" needs to write a Script.
What is the activity of this command (!/bin/sh)for writing a "Script" .

Waiting for reply .........

Last edited by shipon_97; 07-30-2006 at 05:34 AM.
Old 07-30-2006, 05:47 AM   #2
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Old 07-30-2006, 09:38 AM   #3
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740Reputation: 740
Short answer: Telling the system what interpreter to use for your script. When you type a command in a terminal, you are already in a shell----Thus it knows how to interpret the command.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
PPPD Script problem when cron-scheduling the script andresurzagasti Linux - Networking 0 11-24-2004 03:54 PM
Script file problem (or operator problem) HELP! lostone Programming 2 05-23-2001 03:30 PM
Script file problem (or operator problem) HELP! lostone Linux - General 1 05-17-2001 07:11 PM
Script file problem (or operator problem) HELP! lostone Linux - Newbie 0 05-15-2001 08:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration