Official Bank 0/179

LPI Level 1 Exam 101s: 179 (101-400) - Linux Professional Institute Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
179 Total Questions
1
Question
Which of the following commands is used to update the list of available packages when using dpkg based package management?
Options
A apt-get upgrade
B apt-cache upgrade
C apt-get update
D apt-get refresh
E apt-cache update
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
Options
A myapp 0>&1 | cat > file1.log
B tee myapp file1.log
C cat < myapp | cat > file1.log
D myapp | tee file1.log
E myapp | cat > file1.log
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
Which of the following statements is correct when talking about /proc/?
Options
A All files within /proc/ are read-only and their contents cannot be changed.
B All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.
C All files within /proc/ are only readable by the root user.
D All changes to files in /proc/ are immediately recognized by the kernel.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
Options
A sed s/bob/Bob/ letter < newletter
B sed 's/bob, Bob/' letter > newletter
C sed '/bob/Bob' letter > newletter
D sed 's/bob/Bob/g' letter > newletter
E sed's/bob/Bob' letter > newletter
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
Which command is used to query information about the available packages on a Debian system?
Options
A apt-get
B dpkg-search
C apt-cache
D dpkg
E apt-search
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.