Linux - CertificationThis forum is for the discussion of all topics relating to Linux certification.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am currently studying Linux + for my XK0-002 certification. My question is this. Does anyone have any knowledge on what type of questions the CompTia certification ask? I just want to be prepared and ready. Thanks
I am currently studying Linux + for my XK0-002 certification. My question is this. Does anyone have any knowledge on what type of questions the CompTia certification ask? I just want to be prepared and ready. Thanks
Hello Guys, Could you help me to know what is the correct answer and its explication?
Question 1-
When a user begins to use a shell, the only information showing is the prompt.
Which of the following can be used to determine which commands are available?
-help
-man
It is the correct answer?
Question 2-
Which of the following commands will recursively search through all subdirectories from the current directory for files owned by the root user?
find .-uid 0
find -user root
Question 3-
A superuser wants to transform the following permission set from -rw-r--r-- 1 root root 4096 Apr 20 17:30 filename To -rwx-w---- 1 root root 4096 Apr 20 17:40 filename
Which of the following commands will accomplish this?
-chmod u+x,g+w-r,o-r filename
-chown 720 filename
Question 4-
A user wants the script 'name1' to process the contents of the file 'name2', then redirect the output to the program 'name3'. Which of the following shell commands will do this?
-name1 < name2 | name3
-name1 | name2 > name3
Question 5-
Which of the following commands sets the permissions of a file to the following?
-rwsr-sr-x
chmod 6755 filename
7 --> rwx , 5 --> rw
But I don't understand where the value of 6 calcule?
Question 6-
The output of an "ls -la" is the following: -rw-r-xrwx 5 root root 4096 Apr 20 10:03 file.txt
How many hard links have been created to this file?
The answer is 5 ?
Question 7-
How can a user view an X Window from a remote system on their local system?
from the remote system:
export DISPLAY=remote:0.0
Question 8-
Which of the following can be used to determine who has scheduled a job?
Hello Guys, Could you help me to know what is the correct answer and its explication?
...
You could answer most of these by doing things like "man help", "man chmod" etc. at your command line or looking them up at http://www.linuxmanpages.com/
The only one you can't obviously do that way is number 4, but your answer is in "man bash" (or "info bash"). However, that's rather terse: I'd suggest getting a good general book on Bash.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.