LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Closed Thread
 
Search this Thread
Old 08-07-2008, 10:47 AM   #1
Lazairus
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
Exclamation Linux Multiple Choice Questions Short quiz


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

00 17 * * 1,2,3,4,5 /usr/sbin/ckbupscd >/dev/console 2>1

The entry above says to run /usr.. at what time

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


________________________________________________________

thats all folks for now thats part 1 , part 2 ill post tommorrow

thanks for any assistacnce given ,

Laz>( the man that wont die)
 
Old 08-07-2008, 02:23 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
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.
 
Old 08-07-2008, 05:40 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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.

Anyway, closed.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Guidance Oh Linux Gurus, Questions About Distro Choice and Window Managers, Etc. x_freeride_x Linux - Desktop 3 12-11-2006 02:09 PM
multiple choice questions in RHEL 4 RHCE? nivedhitha Linux - Certification 8 05-29-2006 09:09 PM
2 short & basic c++ questions nadroj Programming 3 01-29-2006 11:44 AM
(RHCE)multiple choice questions hansi umayangan Linux - Certification 3 03-19-2005 03:37 PM
Eterm - 2 short questions duaux Linux - Software 1 08-19-2002 07:10 PM


All times are GMT -5. The time now is 11:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration