Locate all the files in the root directory that begin with test and pass the lookup results as parameters to the RM-RF command for deletion:1, Find/-name "test*" |xargs RM-RF2, Find/-name "test*"-exec rm-rf {} \;3, RM-RF $ (Find/-name "test")If you
This article uses the CENTOS7, the other system also is similar.Install the httpd (Apache) package first.Some systems are installed by default, while others are not. Start the service and you'll know.After starting the service, open the browser to
grep commandFunction: Filters matching rows and data from a text file or pipeline data stream, and works with regular expressions to make them more powerful.Format:grep [options] [pattern] [file]1, match the line containing "GHOSTWU"[Email protected]
One:The following five is a separate command, compression decompression to use one, can be used with other commands but only one of them:Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive
Basic use of common Linux commandsOperating systemFunction: Manage hardware devices so that software can interact with hardware.TypeDesktop operating systemWindowsMacOSLinuxServer operating SystemLinuxWindows ServerEmbedded operating
User groupsEach user in Linux must belong to a group and cannot be independent of the group. Each file in Linux has the concept of owner, group, other group
Owner
Your group
Other groups
Change the group where the user resides
Linux kernel architecture and boot process(The following content is from the teaching courseware)First, the Linux kernel structureArchArchitecture-related code. corresponding to each supported architecture, there is a corresponding sub-directory
CAs and certificates1. KPI: Public Key SystemVisa agency: CARegistration Authority: RACertificate Revocation list: CRLCertificate Access Library509: Defines the structure of the certificate and the standard version number of the authentication
DirectoryFirst, Advanced commandSecond, the system commandIii. Compression and archiving3.1. Archive3.2. Compression3.3. Archive and Compress
Archive, Access: TAR-CF, TAR-TVF
Compression, decompression: gzip, gunzip
Archive and
Sentence notation: Find corresponds to the directory -mtime + days-name "file name"-exec rm-rf {} \;Example 1: Place all 10 days before the/usr/local/backups directory with "." The file deletion Find/usr/local/backups-mtime +10-name "* *"-exec
Summary of commands: 100 or soMkdir方法一 [[email protected] ~]# mkdir /test && ls -ld /test方法二 [[email protected] ~]# cd / && mkdir date && ls -ld /testLs-l (long) d (directory) displays directories or files&&Instead, the difference is that the first
Disk Management Command LS command: Train directory contents-A or-all will list all files and directories, note hidden files, special directories-l Query verbose format list-t sort by the change time of the file or directory-R Reverse SortLs-l
File Permissions ls Command result introductionThe contents shown in-L are as follows:-rwxrw-r‐-1 root root 1213 Feb 2 09:39 ABC-the first character represents the file (-), directory (d), Link (l)-10 characters determine what different users can do
All we mentioned just now is to show the appearance of the file, or to move and copy a file or directory, so what if we want to inspect the contents of an archive?! There are quite a few interesting instructions to share: the most commonly used
Unzip the linux.zip Linux load machine Link: Https://pan.baidu.com/s/1yrmsT3PYfuL9Wlh4FEYxaA Password: s72nUnzip Linux.zipchmod 777-r linux/CD LinuxSH installer.shFollow the prompts to enter the following:Enter ' n 'Enter ' a 'Enter ' n 'Input ' I
First, demand analysisWith the growing Internet technology, the number of servers is also increasing, from the initial several servers to a large data center, alone can not meet in the technology, business, management and other aspects of the
First, online inquiry and help command1.man: View command Help2.help: View Help for Linux built-in commandsSecond, file and directory Operation command:1.pwd: View current directory2.CD: Switch Directories3.tree: Display the contents of the
First: Check your Google browser versionDownload the corresponding Linux version according to Chromedriver and the Chrome version mapping table ChromedriverSecond: Unzip the fileUse the command to copy the extracted files
Special Note: I blog part of the reference network other blogs, but I have personally written and verified through. If you find that the blog has errors, please prompt to avoid misleading other people, thank you! Welcome reprint, but remember to
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