Candidate: ____________________________________________________________________ Q. What are three commands OTHER THAN TEXT EDITORS to could be used to make changes to a file? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. How would you make a similar change to 500 files? Assume all the files are in a single directory, and that there is no need to save the original copies of the files. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Can you solve this problem without use of a "language tool" (such as awk, perl, python, sed, etc.)? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Please describe, in some reasonable level of detail and for whichever version of Unix you are most familiar, what happens from the time you turn on the power until you get a login prompt. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Is there anything special about the files in /etc/rc?.d, or is there some particular relationship between the files in /etc/rc?.d and in /etc/init.d? If so, why? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Other than the number of commands executed, is there any functional difference in the following pairs of pipelines? Assume the omitted material ("...") is identical in each pair. cat *.xyz | sed '...' | sort sed '...' *.xyz | sort cat *.xyz | grep '...' | sort grep '...' *.xyz | sort cat *.xyz | awk '...' | sort awk '...' *.xyz | sort Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Explain why you might care about the difference between the grep and awk pipelines in the previous question. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. The following pairs of code fragments are functionally equivalent: for f in * ; do for f in *.xyz ; do . . . . . . done done ls | ls | ( grep '\.xyz$' | while read f ; do ( . . . while read f ; do done . . . ) done ) In some cases the top fragment of each pair will fail. Why would this happen and why doesn't the bottom fragment also fail? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Do you understand subnetting and subnet masks? If so, please explain them (briefly). Q. Let's say our network number is 135.27.0.0, and we want to have at least six subnets, but each subnet should be able to have as many hosts as possible. What would the subnet mask be? How many hosts can we put on each network? (Optional: What is the first host address on the third subnet? The last subnet?) Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Is there a standard Unix program that will do base conversions? How would you specify binary input and decimal output? What about binary input and hexadecimal output? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. What is CIDR? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Most modern Unix systems store three times for each file; what are their names and meanings? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Please diagnose the problem described in the following situation: A new system was attached to a Cisco 5509 Ethernet switch; . . . Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. What is the most common cause of DNS problems (not counting syntax errors)? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. How do you "restart" DNS serial numbers? That is, if you accidentally set your serial number to, say, 2099103100, how can you set it back to 2000103100? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Please describe, in terms of what bits in the TCP header are on or off, how a TCP connection is established. Q. Please describe, in terms of header bits, how a TCP connection is closed. Q. Please describe the "theory" of the ACK bit and TCP packet sequence numbers. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Please explain (briefly) the difference between paging and swapping. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Please diagnose the problem described in the following situation: While booting a Sun system, messages on the console indicated that /var/spool/mail was full, . . . Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. There is something "special" about how the "cd" command is implemented; with respect to implementation, what is the difference between "cd" and, say, "ls"? More importantly, why *must* "cd" be implemented in this way? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. What is an inode? What's the difference between an inode and it's associated file? What is stored in the inode? Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Is the file name stored in the inode? Q. Please describe (briefly) the difference between hard links and symbolic links. Right Wrong Said "I don't know" Didn't ask =============================================================================== Q. Which conferences do you attend? How did you choose them? Given the opportunity, would you go to these same conferences again? If you haven't attended any conferences, why not? Right Wrong Said "I don't know" Didn't ask