New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM LCP-001 Exam - Topic 2 Question 67 Discussion

Actual exam question for GAQM's LCP-001 exam
Question #: 67
Topic #: 2
[All LCP-001 Questions]

How do you get a list of files that have been installed from a dpkg package?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Keva
3 months ago
Really? I had no idea there was a specific command for that!
upvoted 0 times
...
Cristina
3 months ago
Nope, that's just for listing installed packages, not files.
upvoted 0 times
...
Aja
3 months ago
Wait, I thought it was dpkg -l?
upvoted 0 times
...
Viki
4 months ago
Totally agree, that's the right command!
upvoted 0 times
...
France
4 months ago
You can use dpkg -L pkgname to list files.
upvoted 0 times
...
Natalie
4 months ago
I’m confused between -L and -S. I know -S is for searching, but I can’t recall if it lists files too.
upvoted 0 times
...
Herminia
4 months ago
I’m not sure about the options, but I remember that -s is for status and -l is for listing packages, so I think -L makes sense here.
upvoted 0 times
...
Stephania
4 months ago
I practiced a similar question where we had to identify commands for package management. I feel like -L is definitely the one for listing files.
upvoted 0 times
...
Vivan
5 months ago
I think the command to list files from a dpkg package is something with -L, but I can't remember if it's the right one.
upvoted 0 times
...
Roxane
5 months ago
Easy peasy! Option E, "dpkg -L pkgname", is the correct answer. This command will give you the list of files installed by the specified package. I've used this command many times when troubleshooting package issues.
upvoted 0 times
...
Jovita
5 months ago
I'm a bit confused by the wording of this question. Does it want the list of files for a specific package, or just a general list of all installed packages? I'll need to double-check the details before answering.
upvoted 0 times
...
Dion
5 months ago
Ah, I've seen this type of question before. The key is to remember that "dpkg -l" lists installed packages, while "dpkg -L" lists the files installed by a specific package. Option E is the way to go.
upvoted 0 times
...
Norah
5 months ago
Hmm, I'm not too familiar with the dpkg command and its various options. I'll need to think this through carefully and review my notes on package management in Linux.
upvoted 0 times
...
Karl
5 months ago
This looks like a straightforward dpkg command question. I think option E, "dpkg -L pkgname", is the correct answer since it lists the files installed by a package.
upvoted 0 times
...
Danica
5 months ago
Hmm, I'm a bit confused. Is there a difference between the business unit data retention setting and the Enterprise wide default retention? I'll need to think this through carefully.
upvoted 0 times
...
Lucina
9 months ago
You know, I bet the correct answer is option E. It just has that 'list files' vibe to it, you know?
upvoted 0 times
...
Terina
10 months ago
Ha! I bet option B is some kind of 'check' command, not a list of files. Gotta love these tricky multiple-choice questions.
upvoted 0 times
Erick
8 months ago
D) dpkg -S pkgname
upvoted 0 times
...
Gracie
8 months ago
E) dpkg -L pkgname
upvoted 0 times
...
Catarina
8 months ago
A) dpkg -l pkgname
upvoted 0 times
...
...
Dierdre
10 months ago
Hmm, I think option D might be the winner here. Isn't that the command to search for a file and see which package it belongs to?
upvoted 0 times
...
Shala
10 months ago
I'm pretty sure it's option A. 'dpkg -l' lists all the installed packages, not just the files.
upvoted 0 times
Luke
8 months ago
Yes, 'dpkg -l' is the way to go for that.
upvoted 0 times
...
Lachelle
8 months ago
I always use 'dpkg -l' to get a list of installed packages.
upvoted 0 times
...
Shelia
9 months ago
I think you're right, option A is the correct one.
upvoted 0 times
...
...
Willard
10 months ago
Option E looks like the correct answer to me. I've used that command before to list the files installed by a package.
upvoted 0 times
Tashia
8 months ago
Thanks for the tip, I will use dpkg -L pkgname next time.
upvoted 0 times
...
Willetta
8 months ago
I think I will go with option E as well.
upvoted 0 times
...
Ira
9 months ago
I always use dpkg -L to get a list of installed files too. It's very useful.
upvoted 0 times
...
Wilda
9 months ago
Yes, that's correct. Option E will list the files installed by a package.
upvoted 0 times
...
Cary
9 months ago
E) dpkg -L pkgname
upvoted 0 times
...
Juliana
10 months ago
Yes, dpkg -L pkgname will give you a list of files installed by the package.
upvoted 0 times
...
Luisa
10 months ago
I agree, option E is the correct answer.
upvoted 0 times
...
...
Matthew
11 months ago
I'm not sure, but I think dpkg -S pkgname also shows the files installed.
upvoted 0 times
...
Barabara
11 months ago
I agree with Lisha, dpkg -L lists the files installed by a package.
upvoted 0 times
...
Lisha
11 months ago
I think the answer is E) dpkg -L pkgname.
upvoted 0 times
...

Save Cancel