answersLogoWhite

0

What is parent directory in unix?

Updated: 12/5/2022
User Avatar

Wiki User

10y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What is parent directory in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Every unix directory has at least two hard links why?

The two links are for the current directory (.) and the parent directory (..). This is allow for easy directory traversal.


What is the meaning of . and .. in unix?

The '.' refers to the current directory that you are working in, and the '..' refers to its parent (i.e. the directory just above the one you are now in).


What is Topmost directory in unix?

Root directory.


What is the difference between .file and ..file in Unix?

Neither are actually files. They are references to directories, the current one and the parent directory, respectively. They can be used in file copy and move operations in place of explicitly printing the directory names. For instance:mv ./* ..would move all files from the child directory into it's parent.


How does Unix work as a multi-user operating system?

When a user logs in to a Unix system, the current working directory normally starts at the directory/file


What command is used to list the contents of a directory recursively in Unix?

ls -lR directory


What is the command that will change the current default directory to the root directory in Unix?

CD /


What is the Unix command to display the filesizes of a directory?

Once your in the directory you have to type the following: du -a


How is Topmost directory in unix represented?

Directory tree structure in Unix always starts at the top node, or "root" node. It contains all of the major level subdirectories underneath it. The root directory is called "/" (root).


What is root directory and how it is represented?

root directory is the top of the directory tree. it is \ on windows (or c:\ d:\ etc.) and / on unix/linux


What is used to see the contents of a directory in Unix?

The ls command.


Where would you find a host file on a unix server?

The host file in Unix is usually located in the /etc directory.