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?
Answer / shubham shivaji kale
You can use the following command:
# cat file1 > file2 2> file3
| Is This Answer Correct ? | 0 Yes | 0 No |
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file.
Which scripting language is best for automation?
Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.
Is SSO and SSL support BOXI?
What is bash eval?
How will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)
What is the crontab?
Hi Friends, I am currently Undergoing Course On Testing.I am Planning To Keep Fake Resume.Can any One tell me the ways to Prepare i.e, Real Time experience For Manual Testing. With Regards, Vikram
how to separate the even and odd number generated from one file to two separate file i.e. even numbers in file1.txt and odd numbers in file2.txt
What are the different types of commonly used shells on a typical linux system?
How do I run a .sh file on mac?