Results 1 to 2 of 2
I'm still a newb at writing shell scripts. I've figured out enough to make them run commands to automate things but I have a question. If I know a command ...
- 01-24-2006 #1Linux Newbie
- Join Date
- Oct 2005
- Location
- Lakewood, WA
- Posts
- 112
Shell Scripts Answering Prompts
I'm still a newb at writing shell scripts. I've figured out enough to make them run commands to automate things but I have a question. If I know a command will be met with a prompting question (password, yes or no to install dependancies, etc.) could I write in the script how to go about answering such prompts so if I were to run a long script it would automatically answer the questions for me?
- 01-24-2006 #2
I would suggest you to find a book shell programming. It originates from 1991 and it is the best I have ever seen.
Or you can learn perl or C to easily write your own scripts.If you are absolute beginner in programming, you would need 2-3 months of 2hrs of every-day practising to get familiar with C.
Not much, right?


Reply With Quote
