Find the answer to your Linux question:
Results 1 to 3 of 3
Here is my latest project - I need help writing a script that takes input from a user that is a directory and then shows the ordinary files and the ...
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1

    Need help..with user input

    Here is my latest project - I need help writing a script that takes input from a user that is a directory and then shows the ordinary files and the directories form the users inpt location.. I know how to do everthing execpt to get and use the input. Any help would be great! I am using Ubuntu.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Hi and welcome to the forum.

    Is this homework? You also didn't say what programming language your script should be written in.

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    10
    in shell script

    echo "Enter your name:"
    read name
    #here waits until user insert some text and press enter
    echo "Your name is: $name"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...