Discover cd change directory command, include the articles, news, trends, analysis and practical advice about cd change directory command on alibabacloud.com
7.4 "Linux learning is not difficult" file/directory Management (4): cd command Change working directory pathUse the CD command to change the user's working directory path. Working directory paths can use absolute or relative path names, absolute
usage rights: all rolesHow to use:CD [TargetDir]role: This command is used to switch the working directory in LinuxNote the point:The 1.targetDir represents the target directory and can be represented by an absolute or relative path;2. When
For example, when we open the Command line window, this is generally the case: in the bottom left corner of the desktop to find the "Start" menu, open "Run", enter "cmd", return. At this point, the default current directory for the command Line
Linux Command (1): cd command, linux Command cd
1. Role: Change the working directory;
2. Format: Cd [path]
The path is the working directory to be changed. It can be a relative path or an absolute path.
3. Use instances: [Root @ www uclinux] #
CD: English name change directory, changing the meaning of your directory.
1. Command format:
CD [Directory name]
2. Simplify the operation:
CD ~ Enter the home directory of the current user the CD is the same as the CD ~ command, which is
Relative path and absolute path: /( root ) directory for the path. The relative path does not take the / start with an absolute path with / ./abc is a relative path (./represents the current path), /abc is the absolute path. However: ~/
1.1 Learning the Echo rem CD dir command
Learning points:1. Display information: Echo2. Comment Statement: REM3. Directory Switching: CD4. Column File name: dir
One, display information: Echo
Before we learn the echo command, we'll build a new
Displays the current directory name or changes the current directory.
CHDIR [/d] [Drive:][path]
CHDIR [...]
CD [/d] [Drive:][path]
CD [...]
.. Specifies that you want to change to the parent directory.
Type CD drive: Displays the current
Chdir (CD)
Displays the name of the current directory, or changes the current folder. When used with only one drive letter (for example, ChDir C:), ChDir displays the current drive name and folder. Used without parameters, ChDir displays the current
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.