![]() Related Questions Latest Answer : It' s simple(ls;who) >> xComments:*** (ls;who) prints both the outputs in stdout in the same sequence as commanded.*** >> is the "redirection + append" operator, hence the o/p from stdout is put into a file (appended) named x. ... Latest Answer : We can both read and write into the file ... If you type in the commandnohup sort employees > list 2 > error out & and log off ,the next time you log in . the output will bea). in a file called list and the error will de typed in a file error outb). there will be no file called list or error outc). error will be logged in a file called list and o/p will be in error outd). you will not be allowed to log ine). none of the above It is a data structure that defines all specifications of a file like the file size ,number of lines to a file ,permissions etc. PATH = /bin : /usr : /yourhomeThe file /bin/calendar has the following line in itcal 10 1997The file PATH = /bin : /usr : /yourhomeThe file /bin/calendar has the following line in itcal 10 1997The file /yourhome/calendar has the following line in itcal 5 1997If the current directory is /yourhome and calendar is executeda) The calendar for May 1997 will be printed on screenb) The calendar for Oct 1997 will be printed on screenc) The calendar for the current month( whatever it is) will be printedd) Nothing will get printed on screene) An error massage will be printed The redirection operators > and >>a) do the same functionb) differ : > overwrites, while >> appendsc) differ : > is used for input while >> is used for outputd) differ : > write to any file while >> write only to standard outpute) None of these b The command grep first second third /usr/you/myfilea) prints lines containing the words first, second or third from the file /usr/you/myfileb) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints themc) searches the files /usr/you/myfile and third for lines containing the words first or second and prints themd) replaces the word first with the word second in the files third and /usr/you/myfilee) None of the above b If a pipe can fill a tank in 2 hrs and can empty it in 3 hrs. If they are open at the same time then find the time taken to fill the tank? 6 hrsTechnical questions: COBOLPROGRAM for calculation of salary and computation file is to be generated.computation rule: basic pay proportional to no. of eligible days.DA at rate of 60% of basicpayfor grades1,10,20 NO DA for grade 50.DA 70% FOR GRADE 30,40HRA 25% OF BP FOR 1,10,20. 30% OF BP FOR 30,40 DEDUCTIONS PF 10% OF BP NET SHOULD BE ROUNDED. View Question | Asked by : HEMANT
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||