Run the mysql command through the command line

There are two ways to execute SQL commands under the command line. The first is to use the "-e" parameter to specify the SQL statement to be executed, and the second is to use the pipeline. Syntax and example: 1. MYSQL_HOME/bin/mysql-u username-p

Replacing the content in files in batches in Centos

The sed command is easy to use for a single file. If you want to replace all the files in a specified folder, combine grep and sed into a command. The grep command can be used to search for the content of a single file or a file in a folder. the

In Centos, check whether the cpu supports 64-bit

Check whether lm exists in cpuinfo. If lm exists, 64-bit is supported. lm means longmode. the specific command is as follows: cat/proc/cpuinfo | grepflags check whether the output contains lm characters or cat/proc/cpuinfo | grepflags | greplm |

Solve the problem of automatic disconnection after ssh is idle for a period of time

Use a client tool, such as securecrt, to connect to a linux server. some of them may be disconnected after a period of time without any operation. This is mainly because the vro and firewall exist between the client and the server, and the idle

When removing the command from Centos, use the tab to make the "sounds ".

In linux, the tab key may be at most one. Using tabs when using commands such as ls and cd can reduce many keyboard input. for example, to enter a directory with a long directory name, you may just need to input the first few characters, then, use

Use the find command in Centos to find files based on system time

The find command has several options for searching files based on your system's timestamp. These timestamps include the time when the atime file was last modified, the time when the file was read or accessed, and the ctime file state change time.

CentOSadsl online Configuration tutorial

1. Network Configuration # Description of the display information of ifconfigeth0ifconfig command: Linkencap network interface type, such as Ethernet or PPP HWadrr 1. network configuration # Ifconfig eth0 Description of ifconfig command display

Nginx configuration file nginx. conf

PS: I have been using Nginx for two or three years. now I often encounter some basic questions from new users. I have no time to answer them one by one. it took me some time this afternoon, based on your experience, I will share the main

Centosyum only updates security patches

Install the yum plug-in: yuminstallyum-security use: check for security updates yum -- securitycheck-update only install security updates yumupdate -- security check for specific software security updates list updated details

DIY Centos Lite version

We all know that the linux system has extremely powerful functions, but sometimes the functions are not necessarily what we want, in some cases, we want a simple system that consumes less resources and runs some basic functions and commands. at this

Nginx Image Cache

Recently, we are going to build an image server with nginx, which looks at nginx's powerful static file processing capabilities. Because the image volume is relatively large, it runs separately from the web server (which is also nginx). although it

Bind CPU to processes in Centos

Taskset is a CPU adjustment tool that can assign system tasks to the specified CPU this article takes nodejs as an example of the first step, query the nodejs process pgrepnode1927719283 step 2, lock the CPUtaskset-pc019277 (where 0 represents CPU0,

Nginx speed limit

Nginx is a good web server and provides a comprehensive speed limit function. The main functional modules are ngx_http_core_module, ngx_http_limit_conn_module, and ngx_http_limit_req_module. The first module includes the limit_rate function (limited

Introduction to CentOSEXT4 file system

Linuxkernel has officially supported the new file system Ext4 since 2.6.28. Ext4 is the ultimate version of Ext3. it modifies some important data structures in Ext3, not just like Ext3 for Ext2, but adds a log function. Ext4 can provide better

Apache under CentOS6.4 enables pseudo-static

I deployed LAMP in my company today and thought about it. I didn't test the pseudo static state of LAMP .... So I found this article online and generated it. I will share with you the LAMP setup steps I have used in the enterprise. ---- What is

Detailed usage of ftp commands in Centos

Ftp servers are more common on the internet. the function of the Linuxftp command is to use commands to control the transfer of files between the local machine and the remote machine. here we will detail some frequently used commands of the Linuxftp

Multiple methods to control account expiration in linux

How to Control Account expiration in linux: enterprise users can set the account validity period for unmanaged role accounts or temporary requirements of developers to improve security! Method 1: add the user useraddoldboy-e01/28/12 or modify the

Linux network interface details

Manage Ethernet connection network interfaces using continuous identifiers such as eth0 and eth1. The network interface can be set to use an alias (aliases). The alias is marked as eth0: 1 and eth0: 2. this is called a network subinterface and is

Decompress and access the iso file in CentOS

System environment: Contos5.6x86 _ 32bit: access the iso file ####################### the iso file format is iso9660, iso9660 is a file system on cd, that is, the data organization form on cd. in linux, when kernel supports iso9660, you can [root @

Cat commands in CentOS

Usage: cat [option] [file]... outputs a combination of [file] or standard input to standard output. -A, -- show-all is equivalent to-vET-B, -- number-nonblank is equivalent to-vE-e, -- show-ends: $-n, -- number is displayed at the end of each

Total Pages: 2732 1 .... 2080 2081 2082 2083 2084 .... 2732 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.