Help me with write program linux
1. Write a program that displays a list of the subdirectories of a directory
- $ Subdir path - List the subdirectory located in the path. 2. Write a program that searches files in one folder 1 ( but not in folders alcohol) - $ Search path ten_tep |
we will gladly help you, but will not write that (homework?) for you. What have you done so far, where did you stuck?
|
Quote:
YOU do your homework and ask us specific problems when you run into trouble. Do not post homework questions verbatim and expect us to do your work for you. This is the third post in a row where you've done that. |
I will write them for you, 100 Euro a piece. Which language?
Or you start writing, and if it doesn't work or you hit a brick wall, describe your problem, and I and many others will help for free. See also the LQ Rules http://www.linuxquestions.org/linux/rules.html, especially the part about homework: Quote:
|
This isn't even requesting a program - its requesting a command be made into a program. Also, not sure what the second request even means.
Code:
read -p "What directory do you want to list the subdirectories of: " directory; |
Quote:
|
LOL
Read a book and you know what that book said. Now rewriting that book or telling it's topic (in your own words) is a different story... :jawa:
http://www.linuxquestions.org/questi...4/#post5049376 |
Quote:
Homework link reference (for a start): http://www.unix.com/shell-programmin...directory.html Try to do things yourself if you bump somewhere then shout for help. Shortcut will get you nowhere. Study and learn. |
@OP Please check this link Welcome to LQ
|
All times are GMT -5. The time now is 08:47 PM. |