The pathname is a sequence of symbols and names that identifies a file. Every file has a name, called a filename, so the simplest type of pathname is just a filename. If you specify a filename as the pathname, the operating system looks for that file in your current working directory. However, if the file resides in a different directory, you must tell the operating system how to find that directory. You do this by specifying a path that the operating system must follow.

Keywords:What is a Pathname,sequence , symbols,file, filename,operating system ,directory