absolute pathname

How do I find out the canonicalised absolute pathname for a given command or file under Linux operating systems?

{ 0 comments }

Q. Can you explain the term relative pathname under UNIX or Linux oses? A. The relative pathnames are opposite to absolute pathname. A reative pathname does not begin with a slash ( / ). Generally you specifies location relative to your current working directory. This is most useful to short a path name. For example […]

{ 0 comments }

Q. Can you explain the term absolute pathname under UNIX or Linux oses? A. An absolute pathname, is the location of a filesystem object relative to the root directory. All absolute pathnames always begin with a slash (/). With Absolute pathname you have access to complete file system objects such as directories and files. Absolute […]

{ 2 comments }

Q. How do I display the absolute path to the current working directory under Linux or UNIX operating system? A. The pwd command displays the absolute pathname of the current working directory to the computer screen. Print name of current/working directory Type pwd command: pwd Output: /home/vivek Above command print the full filename of the […]

{ 2 comments }