The Gsub function causes the substitution to occur when all regular expressions are matched
Gsub (Regular expression, subsitution string, target string), short gsub (r,s,t)
Sub matches the first occurrence of a conforming pattern string, equivalent
Killall Use methods (end most processes)
Reference: Http://www.cnblogs.com/peida/archive/2012/12/21/2827366.html
The Killall command in the Linux system kills the process with the specified name (kill processes by name). We can use the KILL command
First, use the process to view
Command Ps-aux | grep xxx is to see if a process or service exists.
Using the Chkconfig Configuration tool chkconfig--list can list the default startup status of SysV and Xinet services in each runlevel.
Iii. Use of
Before introducing the Linux system, let us introduce the 5 major components of the computer: Calculator, register, CONTROLLER, IO output/input device.First, LinuxLinux is the kernel of a system, and it is the core condition that the system can
Test equipment: Xiaomi game Ben, the latest version 15.6 into the installation after the discovery of a black screen, so use 15.5 installation
Deepin 15.5 Official Introduction page
Official Downloads
Baidu Cloud
System Management-Management node-new Linux nodeClick on the Linux node to run, resulting in the following logs, indicating a successful connection:[02/09/18 05:20:36] [SSH] Opening SSH connection to 192.168.1.209:22.[02/09/18 05:20:37] [SSH]
The parameters of the netstat command are described below:-T: Indicates that the TCP port is displayed-U: Indicates the display of UDP ports-L: Only listen sockets (so-called sockets are programs that enable applications to read and receive
A. users, groups, and permissions1) New user natasha,uid is 1100,gid to 555, note information is "master"2) Modify Natasha user's home directory for/natasha3) View the last line of the user information profile4) Set the password "123" for the
Linux principles (Everything is file)1. Open Linux operating system, require root user login Gnome GUI, language support choice for ChineseLinux operator interfaceRight-click on the desktop and click Open TerminalEnter "Su", click Enter, the
Most Linux commands output to standard output after processing the data, but if the data goes through the series of steps to be processed, it is the number of data needed, which needs to be piped to help complete.The pipe command uses the ' | ' As a
When applying unix/linux, we usually want to let a program run in the background, so we will often use & at the end of the program to let the program run automatically. For example we want to run MySQL in the
There are three ways to fix Linux forgetting the root password:The first of these is detailed below:
After restarting the system, the Grub interface appears on the boot loader menu, using the UP and DOWN ARROW keys to select the system you
1. Linux Overview?? Linux is a free-to-use and free-to-propagate Unix-like operating system, a POSIX and Unix-based multiuser, multitasking, multi-threaded and multi-CPU operating system. It can run major UNIX tools software, applications, and
Linux Common Command One1. Transfer files with RZ SZ commandRun the RZ command directly under the Ubuntu command line and you will be prompted to "program" RZ "not installed."Then install first:sudo apt-get install Lrzszsudo rzThere is also a way to
PS aux|grep python|grep-v grep|cut-c 9-15|xargs kill-15Pipe symbol "|" Used to separate two commands, the output from the left command of the pipe character is entered as the command to the right of the pipe. Let's talk about the connection with the
1 First Officer net download installation package; You can also download resin directly from the command line;sudo wget http://caucho.com/download/resin-pro-4.0.56.tar.gz;Download complete to unzip in the directory that needs to be installed:sudo
. tarUnpacking: Tar xvf filename.tar pack: Tar cvf filename.tar DirName (Note: Tar is packaged, not compressed!) )---------------------------------------------. GZ decompression 1:gunzip filename.gz decompression 2:gzip-d filename.gz compression:
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