CoolInterview.com - World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.


  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!



    Send your Resume to 6000 Companies


  • INTERVIEW QUESTIONS OPERATING SYSTEMS UNIX COMMANDS DETAILS
    Question :
    Explain the following commands.
    Category Unix Commands Interview Questions
    Rating (0.4) By 1527 users
    Added on 10/25/2004
    Views 6294
    Rate it!
    Answers:

    $ ls > file1
    $ banner hi-fi > message
    $ cat par.3 par.4 par.5 >> report
    $ cat file1>file1
    $ date ; who
    $ date ; who > logfile
    $ (date ; who) > logfile



    $ ls > file1 -> output of ls is redirected to file file1
    $ banner hi-fi > message -> the banner pattern of "hi-fi" redirected to file message
    $ cat par.3 par.4 par.5 >> report -> contents of files par.2 par.4 par.5 appended to file report
    $ cat file1>file1 -> file emptied
    $ date ; who -> shows date and then who-all-logged-in
    $ date ; who > logfile -> shows date and output of who-all-logged-in redirected to file logfile
    $ (date ; who) > logfile -> output of date and who-all-logged-in redirected to file logfile



    Posted by: Gururaj    

    Contact Gururaj Contact Gururaj

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

       
    Related Questions
    View Answer
    Construct pipes to execute the following jobs.
    View Answer


    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Unix Commands Interview Questions

    User Options
    Sponsored Links


    Copyright ©2003-2014 CoolInterview.com, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes


    Cache = 0.015137 Seconds