Common compression formats in Linux. zip. gz. bz2. tar.gz tar.bz2ZipCompressed files in ZIP format and Windows Universal, can be compressed/decompressed across platformsCompression: Zip compressed file name source fileZip-r compressed file name
Likely () and unlikely () can be seen everywhere in the 2.6 kernel, so why use them? What's the difference between them?First, be clear: if(likely(valueif(value) if(unlikely(valueif(value)That means likely () and unlikely () are the same
1 compressiongzip commandOptions-C Data Flow redirection, which can be positioned as a file-R recursive compression, that is, deep sub-directory-V displays redundant information such as name and compression ratio-D Decompression-# plus the number
Basic steps:1. Download the compressed file (wget file URL)2. Unzip (TAR-ZXVF file name)3, configure (./configure--prefix= installation directory)4. Make compile (if step 3 is not a problem, otherwise go to step 1)5, make install installation (after
1,echo "AA" > Test.txt and Echo "BB" >> test.txt> empties the original file and writes the contents to the file,>> the end of the file 2,chmod go+w-r/home/zhangyAdd Write permissions to group users and other users 3,TAR-TZVF test.tar.gzList archived
Summary four: Linux time-related common commands1. Date command-show time or set timeUsage (1): date [options] ... [+format] Display+%f,+%d Show Date+%t Show Time+%y years+%m Month+%d Day+%h when+%m points+%s seconds+%u Week+%s time stamp timing,
Head.sHead.s is linked to the system module with other kernel programs after the target file is generated, and is located at the very beginning of the system module, so it is called headHead.s process1. Reset interrupt descriptor and Global
SSSD is a software that replaces LDAP and AD, and is simple to configure.This article describes how to deploy SSSD in an LDAP client to enable LDAP authentication.-Installation SSSDYum Install SSSDYum Remove Pam_ldap samba*Install SSSD, and
Linux version network debugging assistant releasedThere are some small debugging assistant software available on Windows that are handy to use on Linux. Not how to write one yourself, but write code, but do not design software. Then refer to a
Add new Hard drive: Http://note.youdao.com/share/?id=8cf27602cdce36e1d4160f00e9004b00&type=noteThings to add to your hard drive:First connect the hard disk to physical, then in the shell: if we add the hard disk written to the/etc/fstab file, it is
In the RHEL7:· UID 0 assigned to super users· UID 1-200 is a series of "system users" that are statically assigned to Red Hat system processes· UID 201-999 is a series of "system users" that are used by system processes that do not have their own
One: View CPUMore/proc/cpuinfo | grep "model name"grep "model name"/proc/cpuinfoIf you feel the need to see more comfortablegrep "model Name"/proc/cpuinfo | Cut-f2-d:Two: View memorygrep memtotal/proc/meminfogrep Memtotal/proc/meminfo |
Eaccelerator is a free open source PHP accelerator, optimized and dynamic content caching, improving the caching performance of PHP scripts, so that PHP scripts in the compiled state, the cost of the server almost completely eliminated. It also has
These two days do stress tests and found a problem when simulating TCP Client number of outbound connections reached 28000 when left and right, the following exceptions begin to be thrown in large quantities:Java.net.BindException:Cannot Assign
Modify the/etc/profile file in Linux
Normally, the/etc/profile file is read-only and cannot be saved after being opened and modified using vi or gedit. To modify the profile, you must obtain the root permission (use gedit to edit) as follows:
$
How to view the hard drive brand model and other details of CentOS
First, use the smartctl -- all/dev/sda command to check the hard disk information. This command comes with CentOS. The result may be as follows:
Smartctl 5.43 2012-06-30 r3573 [x86_64
Differences between Linux I/O functions and Linux I/O functions
I/O functions in Linux mainly include read, write, recv, send, recvmsg, sendmsg, readv, and writev. This article mainly introduces their usage and differences.
Read function:
#include
Centos6.4 install the bind dns server, centos6.4bind
I. Introduction
1) Centos6.4 64bit minimal
2) bind-9.8.2-0.30.rc1.el6_6.3.x86_64
Ii. Installation
$ yum install -y bind bind-utils
Iii. Configuration
A) bind main configuration file
$
Set up pptp server in centos
PPTP(Point to Point Tunneling Protocol)
Default port: 1723
PPTP is the PPTF protocol. This protocol is a new enhanced security protocol developed on the basis of the PPP protocol. It supports multi-protocol Virtual
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