|
1) Which of the following is not true
a. Sorting is done on the basics of first character of
each line
2) To change the access time of a file to 12:40 PM on 26th Jan 1997 the command would be a. Touch –a 2601971240 file
3) The command cut –f 2,8 –d”:”file I would output a. The fields 2 to 8 from file I where delimiter between
fileds is:
4) The command to search the pattern “Hi there” in file I would be a. Grep “Hi there” file 1
5) The command head f1 would display a. First line of the file f1
6) After you have entered text in your file, to save and quit vi you will use a. Esc shift ZZ
7) To search a pattern which starts with uni the command would be a. :/ \<uni
8) In command :l,.s/part/PART/g,g stands for a. Grep
9) To delete 5 limes from a file that you are editing and copy them to a buffer named x you would use the command a. “x5dd
10) Which of the following statements are not true a. You can yank lines from one file and paste them in
to another file
--- Correct Answers 1) B 2) C 3) A 4) A 5) C 6) A 7) A 8) C 9) A 10) E |
|
See Also
Do you have a UNIX Question? Unix Books :-
Return to : - Unix System Administration Hints and Tips (c) www.gotothings.com All material on this site is Copyright.
|