Find the answer to your Linux question:
Results 1 to 2 of 2
Hi,i wanted source code for implementation of a few linux commands using c language like ls,mkdir,rmdir,cat,pwd,exit etc.Please email back as soon as possible....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2007
    Posts
    2

    Red face implementation of linux shell in c


    Hi,i wanted source code for implementation of a few linux commands using c language like ls,mkdir,rmdir,cat,pwd,exit etc.Please email back as soon as possible.

  2. #2
    Linux Engineer aliov's Avatar
    Join Date
    Dec 2006
    Location
    Geneva,Beirut
    Posts
    1,078
    use this function .

    system("string");

    like

    system("ls -l /home/user > list");

    Regards.
    Linux is not only an operating system, it's a philosophy.
    Archost.

Posting Permissions

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