GeekInterview.com
Series: Subject: Topic:
Question: 6 of 45

Pipeline of Commands

Write a pipeline of commands, which display on the monitor as well as save the information about the number of users using the system at present on a file called usere.ux
Asked by: pankajforall2003 | Member Since Aug-2009 | Asked on: Aug 12th, 2009

View all questions by pankajforall2003

Showing Answers 1 - 1 of 1 Answers
sham2sushil

Answered On : May 2nd, 2010

View all answers by sham2sushil

Use the tee command.

who | tee  -a
usere.ux

tee -a : display the o/p on monitor and save (append) in the file also.

--Shambhu

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.