answersLogoWhite

0


Best Answer

Root is the parent directory

and

subdirectory is the branch of them.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the relationship between root directory and subdirectory and a file?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Siebel file system?

The Siebel File System is a shared file system directory or set of directories. The Siebel File System stores document files, Siebel Configurator models, Web template definitions, and other files not appropriate for database storage. Example: Subdirectory Purpose att Main subdirectory for attachments


What is the directory in a Linux file system where remote NFS files are accessed as though the files were local called?

There is no specific directory on which you have to access NFS shares. You can mount a specific NFS share as root, or a subdirectory therein, such as /home.


What Linux command is used to zip only a subdirectory?

In order to zip a subdirectory in Linux you would use the zip command with the recursive flag to specify that it should add all files under that directory into the zip file. The command would then be zip -r .zip .


What is the directory name on computers?

C: is the main directory.In computing, a directory, catalog, folderor drawer is an entity in a file system, which contains a group of files and/or other directories. A typical file system may contain thousands (or even hundreds of thousands) of directories. Files are kept organized by storing related files in the same directory. A directory contained inside another directory is called a subdirectory of that directory. Together, the directories form a hierarchy, or tree structure.


In MS-DOS subdirectory and file names in a path are separated by what?

\ and >


What is the difference between a boot and a root partition?

/boot is where the Linux kernel images, as well as parts of the bootloader are stored. The "root" is simply the uppermost directory in a Unix/Linux file system. Any directory that is not given it's own partition will be placed as a subdirectory in the file system on the "root" partition. Assuming you gave a partition to /etc, /bin, /boot, /usr, and so on, you wouldn't need a "root" partition at all.


What is the difference between a directory file and an ordinary file?

1. Directory files are the system file and can be not change or modified. The ordinary file are the one user create and it can be modified and changed .


How do you remove Trojan horse downloader. 1stbar.5.L?

OK, you need to run AVG or a virus scanner. Find the directory that the infected file is in. some how the folder is hidden, and i don't mean just a hidden file. i mean a fully hidden file. the virus was fond on a friends system in a subdirectory of "C:\Recycler\...\dc4.zip" . Once the directory is known, oppen a command promted, type CD "the directory its in", then "del *.*". Hope this helps people. Ewok and Marauder.


In Unix what is the command for Displaying whether a file is a simple file or a directory?

Use the file type test: if [ -d $file ]; then echo $file is a directory elif [ -f $file ]; then echo $file is a file else echo $file is not a directory or a file fi


What does drwxrw-r-- in Linux mean?

This is a display of file permissions. In particular, it means:drwxrw-r-- - The specified object is a directory, not a filedrwxrw-r-- - The file / directory can be read by its ownerdrwxrw-r-- - The file / directory can be modified by its ownerdrwxrw-r-- - The file / directory can be executed as a binary by its ownerdrwxrw-r-- - The file / directory can be read by members of the specified groupdrwxrw-r-- - The file / directory can be modified by members of the specified group.drwxrw-r-- - The file / directory cannot be executed by members of the specified group.drwxrw-r-- - The file / directory can be read by others not in the group.drwxrw-r-- - The file / directory cannot be modified by others not in the group.drwxrw-r-- - The file / directory cannot be executed by others not in the group.


Put file in the same directory as my HTML file?

Yes you need to put the file in the same directory. This will get the file to be executed from the HTML file.


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.