answersLogoWhite

0


Best Answer

The root directory is the top level directory of the entire file system. Every branch starts from there.

The current working directory is where you happen to be in the tree at the moment. If the root is always "/" and my process is in the directory /usr/local/bin/test/data, then the root directory is still "/" and my working directory is currently /usr/local/bin/test/data

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

The root directory is the home directory of the super user i.e root which is /root

A home directory for any user the the default directory for the user which is under /home

For a user say test the home directory would be /home/test

A working directory is any directory that user is working in.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between the root directory your home directory and your working directory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you make your home directory the working directory?

Use the 'cd' command without any target; that always puts you in the home directory which becomes by default the working directory.


What Linux commands make your home directory the working directory?

the command 'cd ~' will get you there .


What is the pwd command in Linux?

The pwd command prints the working directory. The working directory is the directory you are "in", where operations on files that don't have an absolute path specified will be performed. For instance, if my working directory is /home/username/stuff, then the command echo "test" > test.txt would place the file test.txt in that directory.


How do you find absolute path name of your home directory what is it on your system?

All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path All you need is the PWD(Print Working Directory) command, this will list your current directory absolute path


How are directory paths indicated in Linux?

The root directory is /. The home directory is /home/user.


What is the default directory for the user's home directory?

The default home directory is /home/user (where "user" is the username), sometimes shortened to "~".


What is the default home directory for a user in Linux?

Each user (on a multi-user computer) has a home directory, and it is the first directory shown after a user logs in. For instance: rodney@downstairs:~$ shows that my user name is rodney, my host or computer name is 'downstairs', the tilde '~' shows that I am in my home directory, and the dollar sign '$' shows that all is ready for me to type in a command. Typing the command 'pwd' (without the single quotes) in a terminal will show which directory you are in - pwd means 'print working directory'. The command 'ls' will list all directories.


Difference between home page and effective home page?

difference between home page and effective home page


What is the shortcut to the login directory in linux?

"cd" with no directory takes you to your home (login) directory. In a path, ~ (tilde) means your home directory, ~usr means the home directory of user usr. For example, "cp ~/foo ~john" copies file foo from your home directory to john's.


What is the main file directory in Linux?

It is the Home Directory.


What is the difference between home and finance minister?

home minister and finance minister are same there is no any difference between them.....


What is the difference between a double wide and a manufactured home.?

The difference between a double wide and a manufactured home is that the manufactured home is put on a foundation.