For computeroperating systems that support a hierarchial file system, the working directory is the directory path that a user or program has designated to be the directory for files referenced by name only, or by a relative path (as contrasted with using both a file's name and a designation of the location using a fully resolved file path).
In DOS and UNIX, a user may use the cd or chdircommand to change the current working directory. In UNIX, the pwd command will print the present working directory.
The POSIXC function chdir() can be used to set the current working directory.
Directories are files maintained by the operating system that are used to organize and locate other files.
The directory you are in at any point is the currentworkingdirectory, which can be referred to as.
The MM process's currentworkingdirectory starts off the same as the shell's, but if you give a cd command to the shell while the MM process is suspended, or give a cd to MM, the currentworkingdirectories will no longer match.