First, simple interceptionSuppose there is a variable var=http://www.google.com/test.htm1, # Intercept, delete the left character, retain the right character.Echo ${var#*//}where Var is the variable name and the # is an operator, *//indicates that
One, the first method: through the configuration of the/etc/network/interfaces file implementationsudo nano/etc/network/interfacesThe contents of the modified file are as follows:Auto LoIface Lo inet LoopbackIface eth0 inet DHCPauto
One: The startup, shutdown, and error tracking of the Tomcat service under Linux, after using putty to connect to the server remotely, typically starts the shutdown of the Tomcat service in several ways:Switch to the bin directory under the Tomcat
Command formattail [OPTION] ... [FILE] ...Command parameters-C,--bytes=[-]kDisplays the post-K-byte contents of each file.-F,--follow[={name|descriptor}]Continuously monitors the specified file, and when the file appends content, the new content is
Kali go in, install vmtools a bit of egg ache, halfway will ask you to compile kernel module required kernel header file, but not installed by default. When installing headers, we have to do some preparatory work because there is no source to
1.1Virtual MemoryLinux Systems. Assuming that each task consumes memory independently, the actual physical memory will be exhausted very quickly. In fact, the front desk is performing the task, the need for less memory, very many tasks do not need
1. Introduction The package can install and update LUA's third-party modules. 2. Please select the desired package on the http://luarocks.org/releases/page. wget http://luarocks.org/releases/luarocks-2.1.0.tar.gz 3. Installation TAR-ZXVF luarocks-2
I. CPU performance EVALUATION1.vmstat [-v] [-N] [Depay [Count]]-V: Print out version information, optional parameters-N: Header information is displayed only once for cyclic outputDelay: The time interval between outputs of two timesCount: The
Problem Description:The error occurred while running a script yesterday,Resolution process:Asked the elder to know that the script was edited under Windows, need file conversion to run, and told me to use the Dos2unix command to convert.Through the
We often find a file in Linux, but we do not know where to put it, you can use some of the following commands to search. These are the information found on the Internet (reference 1), because sometimes it is not used for a long time, and when it is
1, describe the operation principle of shell program;The shell is both the command language, the programming language, and the command interpreter.Shell scripts are typically #! The starting text file, such as "#!/bin/bash", which is called shebang,
. tarUnpacking: Tar xvf Filename.tar after unpacking the original file still existsPackage: Tar cvf filename.tar DirName1 Filename1 ...List contents: Tar TVF Filename.tar(Note: Tar is packaged, not compressed!) )———————————————. gzExtract 1:gunzip
Installing Oracle 10 Gb in SUSE Linux and troubleshooting
I have summarized my experience in installing Oracle 10 GB on RedHat5.5 and SUSE Linux 10.1.
When SUSE10 is installed with OraRun, the oracle user, oinstall group, and dba group will be
How to add and delete bookmarks in Ubuntu
This is a completely new skill. I will show you how to add bookmarks in the Ubuntu File Manager.
Now, if you want to know why you want to do this, the answer is simple. It allows you to quickly access it
Several interesting explanations in the Linux kernel (process scheduling algorithm, page scheduling algorithm, and nonlinear Working Set)1. O (1) scheduler's time calculation formula and CFS scheduler before Linux 2.6.23 generally adopted the O (1)
Install and deploy Glusterfs in CentOS 6.5
Environment Introduction:Server: 10.10.0.200 kvm200Client1: 10.10.0.201kvm201Client1: 10.10.0.202kvm202
1. Deploy the Server first
Host Name, network configuration, SELinux
[root@kvm200~]
#vi/etc/sysconfig/
Attaching a CentOS disk to a hard disk and mounting it automatically upon startup
1. First, find the link to the hard disk:
Fdisk-l
2. Next, partition the hard disk.
Fdisk/dev/sdc press ENTER
Enter n, p, 1, and press ENTER twice, and then wq as
CentOS7 debugging firewall/iptables
CentOS7 replaced iptables with the firewall command. Here we need to distinguish between "iptables service" and "iptables command ". Although firewalld is an alternative to the provided firewall management
Quickly build an ftp server in CentOS 6.5
Quickly build an ftp server in CentOS 6.5
1. Use root to enter the system
2. Run the command rpm-qa | grep vsftpd to check whether ftp is installed. If vsftp is installed, the vsftpd version is displayed on
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