answersLogoWhite

0

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

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

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 is the main file directory in Linux?

It is the Home Directory.


Where is the Linux root directory located?

The root directory is usually /.


How are directory paths indicated in Linux?

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


How do you move files to a directory in Linux?

mv file /path/to/directory


What is the Linux Filesystem hierarchy used for?

The Linux Filesystem Hierarchy is used to help determine the file structure in the Linux Operating System. It defines the Directory structure and directory contents.


What is the name of the Linux top level directory of the file system?

The /, or root directory.


What Linux commands make your home directory the working directory?

the command 'cd ~' will get you there .


How do you change path in Linux?

You change the current working path directory in Linux by issuing the cd command, followed by the directory you want to change to. For example:cd /dev/inputwould take me to the that 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)


How do you create a directory in Linux?

mkdir directoryname


What is the purpose of the Linux login shell?

To log into the system.