Suppose the Apache log format is:118.78.199.98–-[09/jan/2010:00:59:59 +0800] "Get/public/css/index.css http/1.1″304–" http://www.a.cn/common/ index.php "" mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; GTB6.3) "
Issue 1: Find the most
Recommended reading: The recovery method for Linux RM command mistakenly deleted files
1. Create a new directory under the/home/username/directory, named:. Trash
2. Under the/home/username/tools/directory, create a new shell file named: remove.sh
1 My Linux requirements
I'm talking about the need for online Linux, so I'm just talking about a stable release and a more conservative version. For example, CentOS 7 XFS is not discussed, not to say that XFS is not good, but at present my Linux
1. PV command
Sometimes we see some subtitles on a movie screen that show up at a uniform speed, like someone knocking on the keyboard and showing the same side. The PV command on Linux can achieve this effect.By default, Linux does not have the PV
In Linux 4.0, you may no longer need to reboot your operating system.
One of the reasons you like to use Linux in most servers or data centers is that you don't need to do frequent restart operations. Admittedly, some critical patches have to be
1. Output redirection:
By default, standard output and error output are terminals that redirect standard output and error content:
Copy Code code as follows:
[~]# echo "hello\!"
hello\!
[~]# echo "hello!"
-bash:! ": Event not
1. Preface
Test the execution time of a program, including user CPU time, system CPU time, clock time. Before the acquisition time is in the program's main function with a time function, this can only be a rough calculation of the execution of the
LVS Features:
1. Strong resistance to load, the use of IP load balancing technology, only to do distribution, so the LVS itself does not have much flow;
2. Stability, good reliability, with its own perfect hot standby program; (e.g. lvs+keepalived)
Basic principle:
① the first time a client accesses an application, it takes the data out of the database (RDBMS), returns it to the client, and saves the extracted data to the memcached.② the second visit, because the data has been cached, you do
1. basic commands are the top priority, and are not limited to the four most common enterprise commands. 2.shell programming is the basis for scripting languages that you must have without any other language. shell You can have at least three
First we have a normal installed, desktop version of Linux.
Kettle application is the Linux version and the Windows version in the same folder coexistence, so you can directly unzip the kettle on the computer, through the FTP tool to upload
Bash FeaturesUser working environment: root # Normal User $Shell Child shell can open multiple bash and exit with exit
Command history, Historical histsize command history size, default 1000 bar-C Empty Command history-d specifies the line
The installed composer is easy to use, with two-step loading of componentsCases1. Search component: Composer Search Phpexcel2. Download component: Composer require manufacturer name/package nameThen, in the script that uses the plug-in,
Find FilesFind./-type FFind a DirectoryFind./-type DFind a file or directory with the name testFind./-name TestLook for a file whose name matches the regular expression, and note the preceding '. * ' (found file with directory)Find./-regex.
Transfer from http://www.cnblogs.com/xuyh/p/3273082.htmlSet file flags with command F_GETFL and F_SETFL, such as blocking and non-blockingF_SETFL set to the ARG descriptor status flag, several flags that can be changed are: O_append,
Third Essay--Installing virtual machine and learning Linux system first experience • Learn to install Ubuntu graphics based on VirtualBox virtual machines install Linux operating system on your laptopFirst follow the teacher's prompt steps to
CentOS 7 Nic bridging and binding settings
I. Nic bridging settings:
1. Nic configuration file:
[Root @ localhost/] # vim/etc/sysconfig/net-scripts/ifcfg-enp8s0
123456TYPE=EthernetDEVICE=enp8s0NAME=enp8s0BOOTPROTO=noneONBOOT=yesBRIDGE=br02. bridge
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