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

what is the command to print last 8 lines of any text file.

10 Answers  


How do I open a port?

0 Answers  


How do you move a process which is running background to foreground?

9 Answers  


What is a Unix signal, and how do you handle them?

2 Answers  


How do you find files in Unix?

2 Answers  


How do you find path of a directory? Give its syntax.

7 Answers  


Is there any command in Unix, other than:ls, to list the files in a directory? The answer will be highly appreciated...

27 Answers   CGI,


What does the command '$ls | wc –l > file1' do?

0 Answers  


How do you remove a crontab file?

6 Answers  


what are the different hardwares available?

1 Answers  


What will the following command do?

0 Answers  


what do you understand by 'building block primitive'?

0 Answers   Infosys,


Categories