#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Cool Help Assignment !! :D


    Q-1

    Write a shell script in Unix that lists files from your current working directory
    · By modification time when called with lm
    · By access time when called with la.
    By default, the script should show the listing of all the files in the current directory.

    Q-2

    Write a shell script which add the statement “#include <stdio.h>” at the beginning of all the C source files in the current working directory, containing printf or fprintf, if it doesn’t have it included.

    Need to Submit this by this Weeknd Please Help
  2. #2
  3. No Profile Picture
    Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,008
    Rep Power
    2790
    Translation: I haven't bothered to learn my course or do my assignments, now I am stuck on a paper and would like someone else to do it for me.

    Are you really expecting help with this? If you put in some effort and attempt to solve it yourself, then someone will most likely offer you some help.

    Post your code and the parts your are stuck with.
    [PHP] | [Perl] | [Python] | [Java] != [JavaScript] | [XML] | [ANSI C] | [C++] | [LUA] | [MySQL] | [FirebirdSQL] | [PostgreSQL] | [HTML] | [XHTML] | [CSS]

    W3Fools - A W3Schools Intervention.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    2
    Rep Power
    0

    Sorry


    Sorry buddy am new to SHELL Scripting..

    Just need to Submit the Assignments for Marks...\vl take this course, next time,


    Thanks in advance..
  6. #4
  7. No Profile Picture
    Super Moderator
    Devshed Specialist (4000 - 4499 posts)

    Join Date
    Jul 2003
    Posts
    4,008
    Rep Power
    2790
    This is a help forum, not a work-for-free forum. I think you want this forum.
    [PHP] | [Perl] | [Python] | [Java] != [JavaScript] | [XML] | [ANSI C] | [C++] | [LUA] | [MySQL] | [FirebirdSQL] | [PostgreSQL] | [HTML] | [XHTML] | [CSS]

    W3Fools - A W3Schools Intervention.

IMN logo majestic logo threadwatch logo seochat tools logo