First we may use free to see the memory usage, it should be like this[Email protected] ~]# free-m total used free shared buffers cachedmem:32040 31707 332 0 498 27649-/+ buffers/cache:3559 28480swap:16087 0 16087# #实际上在一个进程结束后其内存是会被释放的, but
Selective operationVertical bar (|) Characters are part of a meta-character extension set that specifies the Union of regular expressions. If a row matches one of the regular expressions, it matches the pattern. For example, the regular expression:
First, allow users to enter a directory to become a "working directory" of the basic permissions:
Commands that can be used: such as CDs and other commands to transform working directories;
Permissions required by the directory: The
environment variable Problem of Linux$PATH, first in the/etc/profile, and then, under the user directory under ~/.bash_profile if there is a definition, will be overwritten to the previous $path also note that if the user sudo su switch to root,
1. Judging ApacheTo find the httpd path:PS grep httpdResults: /usr/local/apache/bin/httpdgrep "Server_config_file"Result: The configuration file path loaded at compile time can be found httpd.confThe-v parameter can see the parameters that are
/binBin is the abbreviation for binary. This directory inherits the structure of the UNIX system and stores the commands most often used by the user. such as CP, LS, cat, and so on./bootHere are some of the core files used when starting
Principles of Linux Network Foundation NetworkNetwork addressing IP Addressing IP addressing is a two-tier addressing scheme, an IP address identifies a host (or a NIC interface)Now the most widely used Ipv4 addressing, has begun to gradually switch
Source: Red and Black Alliance http://www.2cto.com/os/201411/348545.htmlIn the process of using Linux, sometimes forget the root user's password (especially when the handover and the content of the document is not complete), this time we can enter
To create a cron service for the current user1. Type CRONTAB-E edit crontab service fileFor example the contents of the file are as follows (visit Baidu Two o'clock in the morning every day):* 2 * * * * Curl http://www.baidu.comSave the file and
Cp-af newadmin/movie/. uploadfile/mallvideo/How do I copy a directory under Linux? It seems to be a simple question.For example, to copy/home/usera to/mnt/temp, the first thing to think about isCp-r/home/usera/*/mnt/tempHowever, there is a problem,
Linux Kernel Learning Summary20125101 Song YumengThrough this period of time on the Linux learning, I have a relatively simple knowledge of Linux, and a lot of gains. From the outset, the assembly knowledge and data structure knowledge can not be
This digest is fromHttp://www.cnblogs.com/zhuyp1015/archive/2012/06/13/2548458.htmlNext, this article describes another way to communicate between threads: the completion mechanism. The completion mechanism is a lightweight mechanism for
CentOS7.0 installation and configuration vsftp (YUM)
CentOS7.0 is used for configuration, which is similar to other versions. It is only used to make a record for you to view and share it with anyone who needs it.
1. configure the firewall and
CentOS6.5 partition and File System1 partition introduction linux partition is different from windows, linux hard disk device name (IDE hard disk is hdx (x is from a-d) Because IDE hard disk is up to four, SCSI, SATA, the USB hard disk is sdx (x is
Linux regular expression-locate metacharacters
Two metacharacters are used to specify whether a string appears at the beginning or end of a row. A single character regular expression that indicates the start. The dollar sign ($) is a regular
Ubuntu14.04lts install vncserver
Previously, I installed vncserver many times on centos and wrote an installation document on centos 7. Recently, I have learned that I have failed to install it on ubuntu several times. This time I finally got it
Logs of the entire process of installing Redis in Linux
Wget http://download.redis.io/redis-stable.tar.gzTar xvzf redis-stable.tar.gzCd redis-stableMakeThere should be no problem in the previous three steps. The main problem is that an exception
Centos6.4 LAMP Server Installation Configuration
LAMP refers to the first letter of the Linux (operating system), ApacheHTTP server, MySQL (sometimes MariaDB, database software), and PHP (sometimes Perl or Python, it is generally used to build a web
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