Interview Questions  

Go Back   Interview Questions > Interview Questions & Answers > Information Technology > Operating Systems > Unix > Unix Commands

Unix Commands Unix Commands Interview Questions, Learn by sharing Unix Commands Interview Questions asked in various Companies, Get Career advices, Interview Procedures from Unix Commands experts, Post asked Unix Commands Interview Questions and Answers.

   

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 02:57 PM
Senior Member
 
Join Date: Feb 2008
Posts: 256
Default What is the difference between relative path and absolute path




What is the difference between relative path and absolute path?
Reply With Quote
  #2 (permalink)  
Old 06-09-2008, 08:25 AM
Member
 
Join Date: Jun 2008
Posts: 38
Default

Absolute path begins with '/' - ultimate ancestor of all the files e.g. /usr/bin/ls
Relative path begins with the current directory name - e.g. abc/def/ls - here abc is in current directory
Reply With Quote
  #3 (permalink)  
Old 06-19-2008, 09:42 AM
Member
 
Join Date: May 2008
Location: Bangalore
Posts: 32
Send a message via Yahoo to pavanb
Default

Absolute path begins with /(root). It is the ancestor of all yhe files in Unix.
Relative path can begin with practically any file. Usually it starts from the current working directory.
Reply With Quote
Reply

Tags
operating systems, unix commands questions, unix interview questions

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On