This time I will summarize the basic Linux commands
The target audience is programming beginners Please refer to those who are not good at Linux commands.
Directory: A folder.
Root directory: The directory at the top of the hierarchical structure.
Current directory: The directory you are currently working on.
Home directory: The directory you are working on when you start a new terminal.
A character string that indicates the location of a directory or file. Separate directories by / (slash) for each hierarchy
Absolute path: A path specified from the root directory. When specifying an absolute path, specify / at the very beginning of the path.
Relative path: A path specified from the current directory. When specifying an absolute path, do not specify / at the very beginning of the path.
This command displays the path of the current directory.
pwd #This command displays the path of the current directory.
A command to display a list of directories and files
ls #A command to display a list of directories and files
This command is used to move the current directory. Also, if you just type cd and run it, it will move to your home directory.
cd [directory you want to move]
This time, I have carefully selected and introduced only those that I want you to remember. There are several other Linux commands. Please remember little by little and master Linux.
Recommended Posts