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.
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.
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
+ 5 right answer
- 3 wrong answer
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
_ _ _ _ _ _ _ _ _
_ _ _ _ _ __ _ _ _
just answer the ones that are 100 % certian of, no gambles!
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Q: how do you simulate a command as root
A) su root -c
B) su -s root "command"
D)sudo root -c "command"
Q:how do you apply and entry into the sudo log file
A) put #
B) put :
C) put =
D) put %
Q: what default permissions do you need to open a directory
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.
Q: what does rwx r-x r-- mean in octal
Q: For 700 to exist on credited directorys what u mask would you use?
C)rwx --- ---
Q: how would you print your path
A) path -p
B) uname -p
C) cat /etc/path
D) echo $PATH
(for me:This is hard)
Q:the following crontab file entry
A)17 mins past midnight
C)midnight on the 17 day of each month
D)0n the 17 day of each month at 1 ,2 ,3 ,4 & 5 pm
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
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
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 ""
Q: how would you see files that are hard linked together
A) hl -l
B) ls -s
C) ls -i
D) link -s
Q: some commands interpet the -(minus) sign,inc cat as a shortcut for...
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.