answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make your home directory the working directory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What Linux commands make your home directory the working directory?

the command 'cd ~' will get you there .


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


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 do you identify the working directory in Linux?

The command 'pwd' will identify the full path of the present working directory.


The directory shown by pwd can be referred to as the current working dirctory?

pwd - means print working directory, which is always the current directory.


How are directory paths indicated in Linux?

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


What is the Linux command for displaying a working directory?

The command pwd displays your current/present working directory.


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.


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 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 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)