There are a quite a few mistakes on this site :D
And however they have generated the questions needs a bit of work, things like - and "" are not handled correctly ....
Correct Answer: BD
B is correct because it specifies user of 'root' with -u.
D is correct because it matches 'real user ID' with uid of 0 (which I assume is the default.)
What is the real user ID?
Who you really are (the person who owns the proess).
A unique number for a user in the system.
What is pgrep?
Look at running processes and lists the process ID to STDOUT.
For example:
pgrep -u root sshd
Will only list the process ID's that are owned by root (user).
Example 2:
pgrep -u user -l
Will list the process ID and name used by 'user'.
-c count
-u user
-l list process name as will as process ID
B&D get the point. Verified :)
(To whom is validating our comments... Please tell whoever may care, to do his/ her the f job and do correct the tests: Who wants to purchase anything full of mistakes? TY xD )
-U makes sense, but -f does not
-U, --uid uid,...
Only match processes whose real user ID is listed. Either the
numerical or symbolical value may be used.
-f, --full
The pattern is normally only matched against the process name.
When -f is set, the full command line is used.
This section is not available anymore. Please use the main Exam Page.101-500 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
linder
Highly Voted 3 years, 2 months agowvdw1962
1 year, 5 months agocast7omadrid1
3 years, 1 month agomikebd
Highly Voted 2 years, 12 months agoLollosbrollo
Most Recent 1 year agoLazylinux
1 year, 2 months agoanhcq
1 year, 7 months agoiwkno6
1 year, 11 months agoCuriousLinuxCat
1 year, 11 months agoBodescu
2 years agopenguinx64
2 years, 4 months agoMalvada
2 years, 7 months ago