IT Certification,braindumps,original questions 117-101
117-101 117-101 117-101 www.cert24.com
Exam: Number/Code : 117-101
Exam: Lpi Level 1 Exam 101(with rpm)
Version : Demo
QUESTION 1
Which of the following commands will find the string foo in the file filel.txt, regardless of foo being in upper or lowercase letters?
A. cat file1.txt |grep -i foo
B. cat file1.txt >grep -n foo
C. grep -i foo | file1.txt
D. grep -n file1.txt < foo
E. grep -n foo file1.txt
Answer: A
117-101 117-101 117-101 www.cert24.com
QUESTION 2
The command used to determine a file’s type is
A. type
B. find
C. file
D. ls
Answer: C
117-101 117-101 117-101 www.cert24.com
QUESTION 3
Many people like the vi text editor but the default bash command line editor recognizes emacs keystrokes. What command entered into abash initialization file will have bash recognize vi keystrokes after login?
A. history -p vi
B. aliasemacs=vi
C. HISTCMD=vi
D. set -o vi
E. unsetemacs
Answer: D