what is the difference between relative path and absolute
path?

Answer Posted / suitable

relative path do not begin with /. its specifies location
relative to your current working directory and it can be
used as a shorter way to specify a file name.

absolute path always begin with a / (slash). It is a
complete "road map" file location.

Is This Answer Correct ?    159 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you in or at the office?

834


How does shebang work?

808


What is the significance of the 'tee' command?

824


What is the use of the command 'ls -x chapter[1-5]' ?

895


Write a command that will display files in the current directory, in a colored, long format.

922


What is the comma to show the space allocation of files?

764


How to use grep command to list find the records of a file containing 10 different strings?

840


What does 'mkdir' command do in UNIX?

909


How do you repeat a command in terminal?

841


Who invented grep?

869


What is the use of cut command in unix?

951


Is it inbetween or in between?

799


What is {} in find command?

782


What is the difference between cat and more command?

902


Explain ‘library functions’ with respect to unix commands?

819