Linux Objective Questions Answers
-
43. All the abbreviations in vi editor can be shown by ?
- all
- ab
- ashow
- atat
Answer And Explanation
Answer: Option B
Explanation:
-
44. Which command reads the content of another file in vi editor ?
- erd
- ex
- r
- read
Answer And Explanation
Answer: Option B
Explanation:
-
45. Which command in vi editor command is used to copy the current line of the file ?
- ys
- yc
- yy
- yw
Answer And Explanation
Answer: Option C
Explanation:
-
46. In the shell, by default, all variables are considered and stored as ?
- integer
- string
- float
- chracter
Answer And Explanation
Answer: Option B
Explanation:
-
47. Which option of "grep" displays the line number as well ?
- -n
- -l
- -d
- -al
Answer And Explanation
Answer: Option B
Explanation:
-
48. What is the command that can print lines of first file matching with second file ?
- printline
- cmp
- com
- comm
Answer And Explanation
Answer: Option D
Explanation:
-
49. Which command is used to record a user login session in a file ?
- script
- session
- record
- copy
Answer And Explanation
Answer: Option A
Explanation: