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 general format of unix command syntax?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is ‘ps’ command for?
How to find $ai_serual resolved path by using unix
Why is it called grep?
What does the metacharacter mean?
What is updatedb?
What is s and g in sed command?
What is the use of the tee command?
What does the command '$ls | wc –l > file1' do?
Are you in or at the office?
Is ‘du’ a command? If so, what is its use?
Explain the steps that a shell follows while processing a command.
What is the comma to show the space allocation of files?
Which command will print your home directory on screen?