Find the answer to your Linux question:
Results 1 to 2 of 2
I've been given some problems to solve in linux / unix programming i wonder if any one can help me with these. any help would be great! BTW im using ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    13

    Programming Help!!!!

    I've been given some problems to solve in linux / unix programming i wonder if any one can help me with these. any help would be great! BTW im using openSUSE 10.1 to script all these

    1. create a new command 'filecount' which will count the number of files in the current directory

    2.Without using an editor, produce a shell script 'sayhappy' which if executed would display the worlds 'happy holidays' on the screen. Execute shell script using 'sh'

    3.change the permissions of your shell script 'sayhappy' so that you do not need to use sh to execute it.Execute without using 'sh'

    4.Without using an editor, modify your shell script so that, after displaying the greeting it waits for exactly 2 minutes and then displys the word 'goodbye'

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,096
    Welcome to the forums!

    Sorry, but it's against the forum rules to post homework questions:

    http://www.linuxforums.org/forum/lin...ums-rules.html
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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