URGENT...pls HELP
I am not familiar with writing scripts for Linux and would appreciate some assitance in doing so.
I am attemping to write a script that identifies the information in my current system directory. I read some of this information but I am not able to grasp as quickly. here is what I know so far I know the command for Listing the directory but what else would I need to know? |
As much as I'd love to do your homework for you, you'll learn much more doing it yourself.
Plus, this is mentioned in the LQ Rules as something you shouldn't expect us to do. |
Well I was not asking you to do my Homework for me, I know nothing about Linux.. I am asking for a sample of both I have started it but I am not sure of how this thing is suppose to look.
|
maybe I should rephase my request..
|
Quote:
|
#!/bin/bash
############################################### #Author: John Doe #Created: 08/10/09 #Purpose: To list of the files in the present working directory ############################################### #ls dir/system file |
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
The above is our standard response to homework questions. Please know that we ARE ready and willing to help. One thing we need is to understand what the starting point is. In this case, what exactly have you studied in class, and what reference books are you using? Are you familiar with (e.g.): basic commands to create directories and switch between them? basic commands to create files and write data to them? wildcards (AKA shell expansion)? |
Thanks for the information/instructions mentioned above. I am certainly willing to learn. I dont think that I have enough information to make this happen.
|
Hi,
Welcome to LQ! You could look at the 'Tutorial' section of 'Slackware-Links'. More than just SlackwareŽ links! |
Quote:
Also, when you post, please notice the sticky posts and info on the screens, giving some good advice on how to ask questions. URGENT is more likely to get folks to tell you off, since we volunteer our time to answer questions, than it is to get you a quick answer. Also, if you need script help, you'll get a hand UP, but you won't get a hand OUT...post what you write, and say where you're having problems.... |
Quote:
|
@Pix
I think you misunderstood my comment I didnt say I was dropping the class i am willing to see it through and try, however to my almost absent to limited knowledge of this particular OS... I am really struggling but like I said I will have to take my time and see what happens. Even though I only have 2 more weeks till the class ends and I fail. Gary |
@ TBone
Thanks for the feedback and "go to" place to address this problem.... And being that I am learning I dont feel so bad at all so you know about ppl bashing me. Its all good now I know I wont ask a stupid question in the midst of smart men. LOL... JG. |
I think you're asking for Linux tutorials/examples; you could read
http://rute.2038bug.com/index.html.gz as a starting point |
Hi FirstTimer,
One of the first things you need to learn of linux in general is that information is not that difficult to understand or implement. The challenge is finding the information. Any general problem you have such a writing a script is a very common problem and so there is loads of information about these things. Just follow these steps: 1. Do a search on this site (LQ) for similar threads that may contain the information you need. 2. Do a google search for the same. 3. If there are things in the information you obtain that you don't understand, post your questions here. 4. Above all, have fun and learn. Knowledge is power (in the good sense). cheers, jdk |
All times are GMT -5. The time now is 06:19 PM. |