answersLogoWhite

0


Best Answer

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.

User Avatar

Wiki User

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

Wiki User

9y ago

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

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

/home

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the default home directory for a user in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 "~".


How are directory paths indicated in Linux?

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


What Linux character can also be used to refer to the current user's home directory?

The tilde character (~) is a shortcut for the home directory of the currently logged-on user.


What will be the name of home directory of user 'Govind' in Linux?

it will be of the name which is selected by Govind.....


What is Linux command CD?

change directory. cd /home/user/ wil take you to the home folder of that user. With cd .. you go down a folder, so if you're in /home/user and type "cd .." you wil then be in the /home/ directory.


What is the symbol used to indicate you are in the root directory in Linux?

"/" is the root directory in Linux. Make sure not to confuse this with the "/root" directory, which is the home directory for the user "root" (similar to "Administrator" on Windows)


On which tab of a user accounts properties is the users home directory configured by default?

Profile


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.


On which tab of a user account Properties dialog box is the home directory configured by default?

Profile


What is the difference between the root directory your home directory and your working directory?

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


Where would data for a user's name be stored in a Linux or UNIX system?

The user's name is stored in /etc/passwd and/or /etc/shadow. The user's data is stored in the /home directory.


What is windowssystem32trz267tmp?

By default there is no such directory as you have defined. The probability is that it is temp directory for the defined specific user.