what is the difference between relative path and absolute
path?
Answer Posted / sudipta
absolute means the path is absolutely present that means the required file's original path, from whenever u r present on ur system.
e.g.
i am finding for a file 'mypic.jpeg' which is present at d:/>my drive/picture & i'm present in the c:/>my document folder,then from that position the absoluute path is
'd:/>my drive/picture/mypic.jpeg'.
But in case of relative path,it indicate the path which is relative to that file(which one u want i.e 'mypic.jpeg') where it is present from that current location ,that may be the same folder,& it casually use when we hosted the file from server,locate the file with in the current folder & that is starting with '\' in windows os..
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What is the use of the command 'ls -x chapter[1-5]' ?
What is grep command in unix with examples?
Explain the steps that a shell follows while processing a command.
How do I search a whole word in vim?
Can you enlist some commonly used network commands?
What difference between cmp and diff commands?
What do chmod, chown, chgrp commands do?
How does the system know where one command ends and another begins?
How does pipe () work?
What is the use of find command in unix?
What does pipe () return?
Explain command to show the space allocation of files?
What is .sh file?
Why is it called grep?
How do you repeat a command in terminal?