This is a discussion on Learning Shell Scripting within the Shell scripting forums, part of the Development/Scripting category; I don't know whether I shall ask this question, but I am sure someone might be able to just help ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
I don't know whether I shall ask this question, but I am sure someone might be able to just help me. You know, guys, it kinda strange, I have "n" number of books but I have never been able to go thru atleast 1 chapter carefully. I really wish but am not able to concentrate. What I understood was that I am just incapable of completeing atleast 1 chapter leave alone the entire book.
Many guides, help pages, etc.. are also in my comp. Even though my wish is to learn shell scripting and then may be perl, but I am just unable to concentrate. I would really appreciate if someone can, atleast help me learn shell scripting by giving a lesson a day or a job a day kind of thing which I think will be better to tackle, than the boring and rather out of the way technical books which drill down us and think that we complete reading the book cover to cover. I sincerely would like to learn shell if not master it. but I just kinda can't follow the books and guides from all the various sites that try to teach shell scripting. I just hope, some helpful soul can infact help me. Thanks, Thanks in advance to the helpful soul who can help me. ricc |
| Sponsored Links | ||
|
|
|
||||
|
Hee
You are not the first person to come across such situation. Sure we can suggest you the some ideas or may be write a script and so on... currently you are at what level in shell scripting? Okay try to write shell script which creates the progress indicator like; any time that a user is forced to wait as a long process runs, it is good idea to give the user feddback. Write script for this purpose Reply back so we can share more ideas.
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
O...great. Thank you for the response. I would love to write such a script. But don't know which commands to use. Just tell me which are the commands to be folllowed and I will try my best to put them in and you can review them whetehr I have gone wrong or not.
Thanks again for your words of encouragement. I just need friends like you to help me go thru it. See you, ricc |
|
||||
|
You need to use while or for loop to create progress indicator
Code:
While job is not done do print progrss do a job sleep if required increment the counter done
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
i just went through http://www.freeos.com/guides/lsst/index.html and it was a good starting. It is very good for starters. and a good tutorial by vivek
|
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help on shell scripting | rahul_sayz | Shell scripting | 1 | 12-08-2007 11:37 AM |
| shell scripting + send mail with header | ephdia | Shell scripting | 0 | 11-27-2007 12:29 PM |
| shell scripting by todd meadors | bashamsc | Shell scripting | 2 | 11-12-2007 07:28 PM |
| looking for good shell scripting tutorial.... | milonix | Shell scripting | 4 | 04-24-2007 07:44 AM |
| Books on Shell-Scripting | shankar100 | Shell scripting | 3 | 02-16-2007 02:19 PM |