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 command to compare two files in unix?
What is merge command in unix?
Explain command to view process running?
What is a bash command?
What is command substitution?
What are the unix commands?
What is unix command?
Does cp command overwrite files?
What command is used to check the current users?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is awk good for?
How many unix commands are there?
What is the use of sed command in unix?
What does the command ' $who | sort –logfile > newfile' do?
What is the significance of the 'tee' command?