Question:
Need Help with these UNIX/LINUX questions ( 9 Questions )?
Zins
2011-12-13 10:26:27 UTC
1. Of the following directories, which one is the most important to back up on a routine basis?
a. /var
b /tmp
c: /usr
d /root
e / etc

2.What is the PID of Init,
a. 0
b. 1
c 2
d undefined
e unknown

3. Which is the proper filesystem to install external application (oracle, etc)
a /etc
b /sbin
c /usr
d /opt

4. How do you change the ownership of a file,

a chmod 755 file
b chown 755 file
c chown user:group file
d chown group:user file
e chown user file, chown group file


5. Where is the syslog in the linus filesystem?

a /var / log /syslog
b /var/lib/syslog
c /opt/syslog
d /etc/syslog.log
e /sbin/syslog

6. which of the following contains the structure of the kernel?

a /opt
b /proc
c /dev
d /var

7. What is the meaning of the ¨l¨in the following line?

lrwxrwxrwx root root 0 2010-05-26 file 1

a Hard link
b Soft link
c File library

8. how do you display all the processes running in the system?

a ps faxwu
b ps fw
c ps
d ps vw

9. Which of the following commands is used to display network information( Choose Two)

a ifconfig -a
b ip a sh
c ifconfig -last
d ip display
Three answers:
2011-12-13 10:39:58 UTC
1. c

2. b

3. c or sometimes d

4. c

5. e

6. b

7. b

8. a

9. a, c
Jim Maryland
2011-12-13 13:20:17 UTC
1) You could argue that all are critical to backup, but I'd go with "a"

/var - contains logs which are important for security audits.



** If you had said /home or /export/home, I'd have gone with that choice. The other directories change infrequently (except /tmp, but that's temporary usage)





2) b



3) d or some other apps structure. I've always left /opt to OS vendor apps while putting third party in an /apps structure



4) c (unless you had a typo on e where "," should be ";")



5) a



6) b



7) b



8) a (although depends which "ps" command you use on some UNIX systems)



9) a & c



Extra: As far as I recall, each one can be on it's own filesystem.
degraffenreid
2016-12-01 07:32:59 UTC
hi Stinger, What distribution of Linux are you installation? what's the genuine blunders? the blunders you gave is far to conventional. what sort of equipment do you have (Compaq, Dell, HP, domicile equipped, and so on)? supply us extra to artwork on. help us help you :-)


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...