Difference between revisions of "Talk:SPR720 Midterm Practice"

From CDOT Wiki
Jump to: navigation, search
Line 5: Line 5:
 
Nestor: My Answer (didn't study rpm yet, so, i shold be wrong in the last 3 questions)
 
Nestor: My Answer (didn't study rpm yet, so, i shold be wrong in the last 3 questions)
 
==============================================================================================
 
==============================================================================================
1) What does bash stand for?
+
1) What does bash stand for?<br>
 
b) Borne Again Shell
 
b) Borne Again Shell
  
2) What is the difference between the /bin and /usr/bin directions and the /sbin and /usr/sbin directories?
+
2) What is the difference between the /bin and /usr/bin directions and the /sbin and /usr/sbin directories?<br>
 
a) /bin and /usr/bin contain binaries useful to all users, /sbin and /usr/sbin contain binaries useful to system administrators
 
a) /bin and /usr/bin contain binaries useful to all users, /sbin and /usr/sbin contain binaries useful to system administrators
  
3) This script is run
+
3) This script is run<br>
 
a) LUXLINUX
 
a) LUXLINUX
  
4) This script is run:
+
4) This script is run:<br>
 
b) false
 
b) false
  
5) This script is run :
+
5) This script is run :<br>
 
b) b contains error messages, a contains non-error messages
 
b) b contains error messages, a contains non-error messages
  
6) When the command make is run, a message appears saying that there is “nothing to do”. Why?
+
6) When the command make is run, a message appears saying that there is “nothing to do”. Why?<br>
 
c) the makefile targets have a timestamp earlier than the source files
 
c) the makefile targets have a timestamp earlier than the source files
  
7) What permission would be set on the file “foo” by this command?
+
7) What permission would be set on the file “foo” by this command?<br>
 
b) rwxr-x--x
 
b) rwxr-x--x
  
8) A directory has the permission: --x--x--x You can:
+
8) A directory has the permission: --x--x--x You can:<br>
 
b) use files in that directory if you know the exact filename
 
b) use files in that directory if you know the exact filename
  
9) What will this command do?
+
9) What will this command do?<br>
 
b) display the package which installed that file
 
b) display the package which installed that file
  
10) A package is named: What is the package release?
+
10) A package is named: What is the package release?<br>
 
c) 3
 
c) 3
 
 
==============================================================================================
 
==============================================================================================

Revision as of 16:37, 12 October 2008

Feel free to discuss the answers here.


==================================================================================

Nestor: My Answer (didn't study rpm yet, so, i shold be wrong in the last 3 questions)

==================================================================================

1) What does bash stand for?
b) Borne Again Shell

2) What is the difference between the /bin and /usr/bin directions and the /sbin and /usr/sbin directories?
a) /bin and /usr/bin contain binaries useful to all users, /sbin and /usr/sbin contain binaries useful to system administrators

3) This script is run
a) LUXLINUX

4) This script is run:
b) false

5) This script is run :
b) b contains error messages, a contains non-error messages

6) When the command make is run, a message appears saying that there is “nothing to do”. Why?
c) the makefile targets have a timestamp earlier than the source files

7) What permission would be set on the file “foo” by this command?
b) rwxr-x--x

8) A directory has the permission: --x--x--x You can:
b) use files in that directory if you know the exact filename

9) What will this command do?
b) display the package which installed that file

10) A package is named: What is the package release?
c) 3

==================================================================================