|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
UNIX
DETAILS
Question: Describe the process of “spname”?
Answer: The operation of spname is straightforward enough, although there are a lot of boundary conditions to get right. Suppose the file name is /d1/d2/f. The basic ideas is to peel off the first component (/), then search that directory for a name close to the nest component (dl), then search that directory for something near d2, and so on, until a match has been found for each component. If at any stage there isn’t a plausible candidate in the directory, the search is abandoned.
|
|
|
Category |
UNIX Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7754 users |
Added on |
9/16/2014 |
Views |
72138 |
Rate it! |
|
|
Question:
Describe the process of “spname”?
Answer:
The operation of spname is straightforward enough, although there are a lot of boundary conditions to get right. Suppose the file name is /d1/d2/f. The basic ideas is to peel off the first component (/), then search that directory for a name close to the nest component (dl), then search that directory for something near d2, and so on, until a match has been found for each component. If at any stage there isn’t a plausible candidate in the directory, the search is abandoned. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What function does “errno” do?
|
View Answer
|
|
Explain about read slow?
|
View Answer
|
|
What are the special arrangements to make a terminal i/p and o/p?
|
View Answer
|
|
Explain abut low-level I/O?
|
View Answer
|
|
Suppose that you are using a terminal in which the screen size is bigger than the normal 24 lines. If you want to use p and take full advantage of your terminal capabilities what choices are open to you?
|
View Answer
|
|
Explain about ZAP?
|
View Answer
|
|
Describe about the root file system?
|
View Answer
|
|
How to search files for lines that match a pattern?
|
View Answer
|
|
Explain about cat?
|
View Answer
|
|
How to get a computer aided instruction?
|
View Answer
|
|
Explain about TYPE-ahead?
|
View Answer
|
|
Explain about DELETE and BREAK?
|
View Answer
|
|
Explain about the return key?
|
View Answer
|
|
What exactly is UNIX?
|
View Answer
|
|
Explain about vis?
|
View Answer
|
|
How can we add the modules in the kernel?
|
View Answer
|
|
Explain kill() and its possible return values.
|
View Answer
|
|
What is a pipe and give an example?
|
View Answer
|
|
How to terminate a process which is running and the specialty on command kill 0?
|
View Answer
|
|
How to switch to a super user status to gain privileges?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All UNIX Interview Questions & Answers - Exam Mode /
Learning Mode
|