1. List all files and folders in the current directory and sub-directory2. Find the file name ending with ". txt" in the/home directory3. Find all files ending with ". txt" in the current directory4 deep search based on directory (max depth limit
Regular expressionsIn Linux, wildcard characters are interpreted by the shell, and regular expressions are interpreted by commands. The main text processing tools are grep,sed and awk.grep matching patterngrep accepts options and parameters as
[Email protected] kubedns]# VI ab.txt111222Add a line at the end of the file to add the Hello character channeling:[[email protected] kubedns]# sed-i ' $a hello ' ab.txt[email protected] kubedns]# cat Ab.txt111222HelloDisplays the last line of the
Search command:Locate can be quickly found by file nameUpdate the database immediately with UpdateDB. Path configuration filtering (/etc/updatedb.conf)Whereis-b executable file namewhich executable file name to see aliasesFind Range Matching
useradd:-u: Specify UID-G: Specifies the base group (or GID) that must exist beforehand-g:gid, ... Specifies an additional group, which exists beforehand-C: Comments-D: Specify user home Directory-S: Specifies that the shell path must be a security
The Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service, it simply changes the symbolic
2, install Xshell, install Open, configure the answer, enter the name (random), SSH, host (Open Linux, click the computer icon in the upper right corner of the system Etho to network, open the terminal input ifconfig Enter, find inet add address),
Wang Yi Original Works reproduced please specify the source "Linux kernel Analysis" MOOC course http://mooc.study.163.com/course/USTC-1000029000I. Status of the Linux systemLinux supports 0 kernel states and 3 user configurations under the x86
Level:The log level is represented by a macro, and the log level macro expands to a string that is compiled by the preprocessor and the messageThis article is stitched into a string, so there can be no comma between the log level macro and the
Several files related to system security:/etc/shells //Available Shell environment/etc/passwd//user account information/etc/shadow//user password information/etc/group//Group information/var/log/secure//su log
To create a partition on a new hard disk, follow the following sequence: set up the primary partition → set up the extended partition → establish the logical partition → activate the primary partition → format all of the partitions. The primary
Preface,It's been a long time. The first time to mention the Linux server ...Because the win server that has been delving into the previous days is not the burst of struts2-045 vulnerabilityIt is estimated that there is no time to contact Linux to
The process is divided into foreground process and background process, by default, the user creates the foreground process. At the end of the command add & can simply create a background process, through the input jobs-l can view the running
How to compile and install Iptables instances:First uninstall the system already installed iptables, the need to back up three documents before uninstalling: iptables startup script, Iptables-config configuration document, and already established
View the installation of CentOS under the official websiteMinimum kernel version required$ uname-r3.10.0-229.el7.x86_64Update YumVi/etc/yum.confIn the last addition of [main]exclude=kernel*exclude=centos-release*Updatesudo yum updateAdd Yum Library:
Once VMware installed Red Hat Linux, into the X-windows interface, the mouse can not be used, the best solution, because their own installation of the Linux process is absolutely no problem, ah, the mouse settings are definitely USB pulley, this is
After configuring the virtual host in the Linux systemVim/usr/local/apache2/conf/httpd.conf/vhosts #搜索Will# include conf/extra/httpd-vhosts.confThe previous comment symbol is removed and takes
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