Learning notes for Linux _day1

Source: Internet
Author: User
Why start learning Linux commands?

First of all, of course, because work is needed, now the work is responsible for the bank dispatching system of the source system access work, often to the production deployment version. So...... Bought a "Linux command line and Shell scripting Encyclopedia," the 3rd Layout program series, began to learn the Linux command.

Objective

The learning Linux commands are all operating under CentOS 7. The terminal is SECURECRT 8.0, which begins the learning of Linux commands.

I. Directory of basic Linux commands

CD Dest_dir: Used to switch to the specified destination directory. If you do not specify a directory parameter (that is, the Dest_dir parameter), you will be switched to the user home directory.

Figure 1-1

From Figure 1-1, you can see that the CentOS User home directory has temp, public and several directories, and then use the CD command to enter the TEMP directory:

Figure 1-2

As can be seen from figure 1-2, the discerning lad must have found a temp directory that has been switched to the CentOS user's home directory, but how can it be proven?

Method One: The wave number (~) in Figure 1-2 has been replaced by temp.

Method Two: You can use the PWD command to view the results 1-3.

Figure 1-3

The above method two uses the PWD (print working directory) command, which can display the current directory, which will be the current working directory.

Learning notes for Linux _day1

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.