I use Linux is startos5.1, blog is i in http://vb2005xu.iteye.com/blog/2119240 My local GCC version iswrote [email protected]:~/softken$ gcc-vUse built-in
The query system supports the maximum number of open file handles:#vi/proc/sys/fs/file-maxTo query the maximum open file handle for the current connected user:#ulimit-ATo modify the maximum number of open file handles for the current connection user:
Mobaxterm is an X server and a set of UNIX commands (Gnu/cygwin) that encapsulate an enhanced terminal in a single portable EXE file. The mobaxterm includes a huge multitab native Windows terminal. Simple operation, powerful, easy to get
1, Ls-l *.sh2, touch-d "10/13/2013" *.sh "I want to modify the. sh file to three months ago (October 2013 13). 】3, Ls-l *.shReference articleshttp://blog.itpub.net/29283412/viewspace-1070106/Alternatively, you can modify the time or the month
Resources:1, the copyright notice: reproduced in the form of hyperlinks to the original source of the article and the author's information and this statementHttp://eshock.blogbus.com/logs/61459223.html2, http://www.cnblogs.com/anyanran/archive/2010/1
First, installation Create the installation directory, set up the installation path under/usr/java, and test the file under this path:# Mkdir/usr/java 1, Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows:# chmod 755
Linux Advanced tips: Heartbeat+lvsThe Heartbeat project is an integral part of the LINUX-HA project, which implements a highly available cluster system. Heartbeat service and cluster communication are two key components of a highly available cluster,
1. Find all files in the current directory that end with. Tar and move to the specified directory:Find. -name "*.tar"-exec mv {}./backup/; Find the log file that is larger than 100M in the current directory 30 days ago and delete it. Find . -name "*
And finally know that Linux is so easy to poison.Enter the server, found that the machine has been sent out of the packet, the bandwidth is full (5 minutes can send 10G). CPU usage 100%,top can see a process called Sfewfesfs and A. Sshddxxxxxxxxxxx (
How to realize the function of the recycle station of Linux system, restrict the RM privilege, avoid the irreversible problem caused by accidental deletion.This depends on the environment variable to realize, first need to understand the role of
Because of the curiosity about Linux system, want to press to play on the machine. After a busy night yesterday, Linux was finally installed. But a little too early to be happy, I thought into the Linux is like into Windows so simple, did not think
What is the user state, what is the kernel state, these two basic concepts have been understood not very clearly, the root cause of the personal feel is because most of the time we write programs in the focus of attention and perspective on the
(organized from the network)For those who have just come into contact with Linux, it is easy to understand the Linux system from the concept of Windows. Today, a grilled win and Linux common between the 8 differences.One, the Linux terminal input
Shell BASICS (7)-condition statements and shell basic condition statements
Conditional statements are often encountered when writing scripts. They are used to handle logic problems.
1. IF statement
If statements use Relational operators to
Centos7/rhel7 reset the root password
(Unlike the previous, when the root password is forgotten and GRUB2 is used as the starter, the root password cannot be reset in single-user mode. The following describes how to reset the root password of
CentOS 6.5 Docker self-made CentOS Image
For how to install Docker on CentOS, see:
Installation:
Yum-y install febootstrap
Add User:
Adduser admin
Add the admin user to the docker group:
Usermod-a-G docker admin
Use admin user
Su admin
Cd/home/admin
Shell scripts for copying files to multiple servers
In a multi-host cluster environment, it is often difficult to copy the configuration file to multiple servers after it is modified. Therefore, the following shell script is written, you can copy a
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