Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Closed Thread
  Search this Thread
Old 07-02-2006, 05:25 AM   #1
Registered: Nov 2004
Posts: 77

Rep: Reputation: 13
shell script problem

i can't understand the if conditon and loops

any help

thank you
Old 07-02-2006, 05:35 AM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Ummm ... what exactly do you not understand about either?

With the statement above real help is next to impossible. :}

Old 07-02-2006, 05:57 AM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680Reputation: 680
You can get quick help on a built in command such as "for" or "if" by typing "help for" or "help if" or "help test" in the bash shell.

You can enter "info:bash" for a browsable version of the "info bash" bashref manual.

I would also highly recommend downloading the abs-guide.pdf "Advanced Bash Scripting Guide" from the website.

Google terms: abs-guide filetype:pdf
Old 07-03-2006, 07:33 AM   #4
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

Closed Thread

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 On
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
Shell script problem maringat Linux - Software 5 07-25-2005 06:12 PM
shell script problem. chooi Programming 7 03-26-2005 06:16 PM
A problem about a shell script jpan Linux - General 2 01-19-2005 07:14 PM
shell script problem steltner Programming 0 05-17-2003 04:26 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:34 PM.

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
Open Source Consulting | Domain Registration