Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Hello , as i have a final exam(Degree) on linux in three weeks time , i thaught it wood be good for a bit of help ,
I love linux , but i hate mcqs
Rules
+ 5 right answer
- 3 wrong answer
Nasty
have a go , i know the answers to some, but im sure u intellegent people can answer theese in a jiffy!
just reply + write the question number
and the answer below
example
_ _ _ _ _ _ _ _ _
Q1
Ans B
brief Description:
_ _ _ _ _ __ _ _ _
just answer the ones that are 100 % certian of, no gambles!
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Question 1
Q: how do you simulate a command as root
A) su root -c
B) su -s root "command"
C)sudo -"command"
D)sudo root -c "command"
Question 2
Q:how do you apply and entry into the sudo log file
A) put #
B) put :
C) put =
D) put %
Question 3
Q: what default permissions do you need to open a directory
A) RWX
B) W
C) R
D) X
Question 4
Q: What does this command do chmod go+rw *
A)Gives the file called go ,read&execute permissions on all files in the current Directory.
B) Gives Groups+others read & execute permissions on all files in the current working Directory
C) Gives read +execute permissions on all files were execute access is already set
D) Gives file named go read + execute permissions on all files in the current working directory only.
Question 5
Q: what does rwx r-x r-- mean in octal
A)754
B)742
C)724
D)624
Question 6
Q: For 700 to exist on credited directorys what u mask would you use?
A) 007
B)077
C)rwx --- ---
D)777
Question 7
Q: how would you print your path
A) path -p
B) uname -p
C) cat /etc/path
D) echo $PATH
Question 8
(for me:This is hard)
Q:the following crontab file entry
A)17 mins past midnight
B)5pm
C)midnight on the 17 day of each month
D)0n the 17 day of each month at 1 ,2 ,3 ,4 & 5 pm
Question 9
Q: how would you add new user bcd, to the system with the project as the primary default group ,and test it as a secondary group,
A) useradd -p project -s test bcd
B) useradd -G project -s test bcd
C) useradd -g project -G test bcd
D) useradd -P project -S test bcd
Question 10
Q: which of the following statements is false
A) linux & HP-UX use the exportfs command to make a resource avalable to other users
B) NFS data exchange between different machines is caried out using the external data representation(XDR)
C)NFS is stateless
D)NFS is built on top if the network information system interface
Question 11
Q: how do you copy an entire directory structure
eg from task to task.backup
A) cp -r task task.backup
B) cp -e ""
C) cp -d ""
D) cp -s ""
Question 12
Q: how would you see files that are hard linked together
A) hl -l
B) ls -s
C) ls -i
D) link -s
Question 13
Q: some commands interpet the -(minus) sign,inc cat as a shortcut for...
A) /dev/stdin
B) /dev/stdout
C) /dev/stderr
D) /dev/hda1
This is the worst kind of homework question (Cutting and Pasting from the instructor's assignment sheet)
Normally, you can get help with homework by showing that you are making some effort. In extreme cases like this, I'll only report the thread for closure and tell you to do your own work.
If any of your first few posts are questions like this, it's a pretty certain thing that this is a "please do my homework for me" thread. Good questions and guess what, a search of the net will get you the answers in seconds. Whether you will understand them or be able to apply them in future is another matter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.