LPIC-1 Questions

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

Answer: A

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

Answer:AD

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

Answer:A

No.4 Which keystrokes will move the cursor 3 lines down and 4 characters to the right?

A. 3j4l
B. 3k4m
C. 3h4j
D. 3l4k
E. 3m4k

Answer:A

No.5 Select all the ways of exiting and saving a vi session.

A. :wq
B. :w
C. :ZZ
D. Shift zz
E. : x
F. :exit

Answer:ADE

Source:

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)

© 2008-2012 The Danesh Project
Powered by Wordpress and made by Guerrilla. Hosted at ServerFreak