Introduction to Linux and Ubuntu installationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights
1, PWDCD function : Displays the absolute path of the current working directory2. cd function : Switch to the established directory format : cd destination directory Example : Cd/root Remark :CD (or CD ~) to quickly switch to the current user's
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
Introduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights
Linux LearningOne: Version information
View version information: Type the command uname–r
2.Linux Core version number sequence: 3. There are two versions of the Linux kernel: stable and development, and the Linux kernel version
Linux File Creation commandWe often have to create some documents to add content or to create a file directory to organize the file collation, so we need to get familiar with the command created, the Linux file Creation command basically has the
Increase:mkdir [选项] DirNamemkdir -p aa/bb;//Create a BB directory under the AA directory. If the AA does not exist, create themkdir -m 777 bb.txt;//Create a Bb.txt file, add permissions 777Option to consider-P: The parent directory that created the
People who have used Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often.
LS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)CD Switch
People who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often.
Common commands:To file operations:RmRm-r: Recursive Delete-F: Force Delete, do not prompt-rf: recursive merge forced delete, do not promptDu-shMkdir-PTouchLessMoreTail-NHead-NCpMvLsLS is the meaning of "list", which lists the files under the
recommended sentence: As long as patience, any capable person can become the peerless coder, of course, including you.Learn Linux Summary: Ubuntu with Apt-get Management Pack, Redhat system YumLinux is divided into four parts: Linux kernel, GNU use
I. File, directory Operation command1. ls commandFeatures: Displays information about files and directoriesLS Displays the list of current directory files by defaultLs-a Show all files including hidden filesLs-l display file attributes, including
Common command file and directory operations
Command
parsing
Cd/home
Enter '/home ' directory
Cd..
Return to the top level directory
Cd.. /..
Return to the top level
Common directives
LS: Show file or directory
-I: List file details (list)
-A: Lists all files and directories in the current directory, including hidden files and folders (a)
mkdir: Creating a Directory
Linux commands:An instruction or program used to implement a certain type of function.The execution of the command depends on the interpreterShell (interpreter) system default interpreter for/bin/bashExecution process:User Send
admin1.1How to write a command line:What is a command:--linux command:An instruction or program used in a class of functions;Execution of the command depends on the interpreter (e.g. Bin/bash)Categories of--LINUX commands:-Internal command: part of
admin1.1How to write a command line:What is a command:--linux command:An instruction or program used in a class of functions;Execution of the command depends on the interpreter (e.g. Bin/bash)Categories of--LINUX commands:-Internal command: part of
Command summary:mkdir Create directory make Directorys (full name)-P (Recursive)Ls-l (Long) d (dieectory) displays the directory or file name list. -A (can show hidden files)Ls-f=ls-p (to view the file with different symbols at the end of the
First, Linux system installationSystem installation can be divided into two categories: physical machine installed Linux, virtual machines (common virtual machine software has two kinds: VMware and VirtualBox) install Linux.Installation process
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.