Planning to sit the LPIC-1 exams soon? Need to get a feel for the questions?
Exja at Planet Malaysia has a brain dump of his LPIC-1 questions and answers for you to review and get comfortable with.
Here are some of the questions you can expect to see,
No.1 You want to save vi changes to the file myfile with : w!. but vi complains it can not write to the file. Therefore, you want to check the write permissions on the file. To do this without leaving vi, you type:
A. :!ls -l myfile
B. :\s -l myfile
C. esc:ls -l myfile
D. :?ls -l myfile
No.2 You are writing text in vi. Now you want to save your changes and exit. Which TWO sequence of inputs will accomplish this?
A. esc ZZ
B. ctrl : w!
C. esc zz
D. esc :wq!
E. ctrl XX
No.3 After starting vi to edit an existing text file. you press Ã¯Â¿Â½AÃ¯Â¿Â½ (shift + a). This will let you:
A. insert text at the end of the current line
B. insert text at the end of the current sentence
C. insert text after your current cursor position
D. insert text at the end of the file
E. insert text at the end of your current paragraph
No.4 Which keystrokes will move the cursor 3 lines down and 4 characters to the right?
No.5 Select all the ways of exiting and saving a vi session.
D. Shift zz
E. : x
LPIC-1 Questions & Answers (1 - 50)
LPIC-1 Questions & Answers (51 -100)
LPIC-1 Questions & Answers (101 -150)
LPIC-1 Questions & Answers (151 -200)
LPIC-1 Questions & Answers (201 -250)