Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to redirect standard error to a file?

Answers were Sorted based on User's Feedback



How to redirect standard error to a file?..

Answer / linuxdemon

2> filename

eg: dat 2> errfilename

Is This Answer Correct ?    12 Yes 1 No

How to redirect standard error to a file?..

Answer / kirus

cat 2 > filemane

if the filename is error.txt

cat 2 > error.txt
the statndard error is redirrected to error.txt file

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

How to check whether some services are running in another server or not? Suppose i am currently in a server named A.I want to check whether some services are running in server B without logging into the server B.

3 Answers   Amazon, MBA, Syntel, TCS, Unisys,


why unix commands can be divided into internal and external commands?

3 Answers   Informatica,


what is the use of uniq commmand?

8 Answers  


What is the unix command to confirm a remote host is alive or not?

0 Answers  


Differentiate cat command from more command.

0 Answers  


How to view the hidden files in /etc directory?

10 Answers  


How does one process we can start an executable file? How to get the PID process, which we started?

6 Answers  


What is the Unix file system hierarchy?

2 Answers  


What is the command to check ports active in UNIX?

4 Answers   Accenture, IBM,


How we will execute previous command in vi editor?

3 Answers   IBM, Infosys,


what is the cmd to display the last exit status in UNIX?

5 Answers   MEIT, Syntel,


What is awk command used for?

0 Answers  


Categories