interview questions and answers

OS Interview Questions | UNIX Interview Questions

Home interview questions Operating System interview questions UNIX 
Friday, 10 February 2012
Main Menu
Home
Online Test
Contest
Search
FAQs
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Operating System interview questions UNIX

This category contains UNIX Interview Questions and Answers


What does the command “ $who | sort –logfile > newfile” do?

PDF Print E-mail

The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the hyphen as std input. In the above command the output from who becomes the std input to sort , meanwhile sort opens the file logfile, the contents of this file is sorted together with the output of who (rep by the hyphen) and the sorted output is redirected to the file newfile.




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

OS Interview Questions | UNIX Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony