Unix - Study Mode
[#971] To replace the string 'director' in the first five lines of file emp.lst with 'manager' we can use . . . . . . . .
Correct Answer
(C) sed '1,5s/director/manager/' emp.lst
[#972] We can use relative pathname in the path list while using find command.
Correct Answer
(A) True
[#973] Which of the following symbols are used for matching a pattern at specified locations?
Correct Answer
(D) ^ and $
[#974] expr can perform . . . . . . . . arithmetic operations.
Correct Answer
(C) 5
[#975] $ cd . . is used to move . . . . . . . . level up in the file hierarchy.
Correct Answer
(B) one