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...


I want to read all input to the command from file1 direct all output to file2 and error to file 3, how can I achieve this?



I want to read all input to the command from file1 direct all output to file2 and error to file 3, h..

Answer / shubham shivaji kale

You can use the following command:

# cat file1 > file2 2> file3

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

What is echo $shell?

0 Answers  


What is the use of "test" command?

2 Answers  


What is shell company all about?

0 Answers  


why did you apply to shell

3 Answers   Shell,


what is "umask"?

6 Answers   Wipro,


What is a program shell?

0 Answers  


What is bourne shell scripting?

0 Answers  


What is shell geeksforgeeks?

0 Answers  


What is a shell script in windows?

0 Answers  


What are the advantages of shell script?

0 Answers  


What is the difference between a shell variable that is exported and the one that is not exported?

6 Answers  


How do you debug a script?

0 Answers  


Categories