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