---restore content starts---1. ls"Command Function"List and display files in a directory"Command Syntax"ls [options] [parameters]"Common Options"-L long format display (entry attribute, file type, permissions, number of hard links, owner, genus,
Directory:CD: Switch directoriesCD path: Switch to the file pathCD ~[username]: Switch to the user's home directory,CD-: Switch to the directory where you firstPwd:pring working directory: Displays the current directorymkdir: Creating a Directory-P:
mkdir command
MkDir is used to create one or more directories
Grammar:
Grammar is
mkdir [command switch] Directory
Command switch:
-M
Text directory set operation permissions
-P
If the parent directory does not
2. File and directory Operations managementThis section focuses on how to use commands to manipulate files and directories under Linux, such as PWD, CDs, LS, and so on.2.1 pwd: Show working directory pathUse the PWD command to display the absolute
Directory
I. Optimization Overview
Ii. query and index optimization Analysis
1. performance bottleneck locating
Show command
Slow query log
Explain analysis Query
Profiling Analysis Query
2 Index and Query Optimization
Iii. Configuration
Centos command collection
1. File Processing Command: ls
Function Description: displays directory files.
Command: list
Command path:/bin/ls
Execution permission: All Users
Syntax: ls option [-ald] [file or directory]
-A: displays all files,
A few common concepts about the Linux directory
PathThe description mechanism of the file location information refers to a path from a directory hierarchy in the tree directory to a file within it, and is divided into relative paths and
LS lists directory contents1. command formatls [option] [ directory name ]2. Command functionShow current directory contents,iflsspecify a different directory,then the files and directories in the specified directory will be displayed.
The following are some of the most important directories and the various functions of Linux systems:/root directory.Contains almost all of the file directories. Equivalent to a central system. The simplest way to enter is: CD/./bootDirectories such
File directory Management class command vs. Shell featuresFirst, list the contents of the directory.LS: Lists the contents of the current directory or the specified directoryUsage: ls[options][file_or_dirs]Options:Ls-a List all FilesLS-L Display
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.