First, modify the operating system core parametersUnder root user, perform the following steps:1) Modify the user's shell limit, modify the/etc/security/limits.conf fileInput command: vi/etc/security/limits.conf, press I to enter edit mode, add the
1. IntroductionDu view the directory size, DF to view disk usage.2. DuDisk usage(1) Basic functions Recursively view the size of all files under a folder(2) Common parameters: -h,–human-readable display dimensions in a more readable manner (e.g. 1K 2
in the Linux under, by default 1024x768 The following ports are to be Root can be used under other users, if you try to use it will be an error. At some point, we may consider that the program runs under the root account, but this may pose a
Expect is developed by Don Libes based on the Tcl language and is widely used in interactive operations and automated test scenarios, expect allows shell scripts to automate interactive communication without human intervention.The core function of
Syntax: grep [-cinvabc] ' word ' filename-C: Print the number of lines that meet the requirements-I: Ignore case-N: Output with the same number of lines as required-V: Print rows that do not meet the requirements-A: followed by a number (with or
Transferred from: http://10495845.blog.51cto.com/10485845/1671771A Sorting text sort1.sort sorting is done based on the comparison of one or more keywords drawn from the input line. The sort key defines the smallest sequence of characters used to
By using TR, you can easily implement many of the most basic features of SED. You can see TR as a (extremely) simplified variant of sed: it can replace another character with one character, or it can completely remove some characters. You can also
Sometimes you want to know that there are a few disks on the server, if you do not do raid, you can simply use the fdisk-l can be seen.But I did raid, so I couldn't see it. So how do I check the raid on the server?Software RAID: can only be viewed
Today, some classmates asked me to look at the directory size under Linux command, now also will be the former learning to DU/DF two command summary of it.In the pre-test work, we have encountered the DF and du two commands because of the fact that
A friend in Linux compiled tiny error, I compile under Windows is OK, but does not explain the problem. So just want to build a Linux under the compilation environment to verify, the actual construction process encountered some problems-mainly NTLM
CMake is a cross-platform compiled auto-configuration tool that uses a file called CMakeLists.txt to describe the build process, which can produce standard build files. It can use simple statements to describe the installation of all platforms (the
I am a Linux operations engineer, a bit of experience in this area, and now I say to master what kind of tools itWhen it comes to tools, it can be said to be a skill, and in the line we are generally called tools, which are tools that must be
Main () function, presumably everyone is not strange, from the beginning of the program, we began to write main (), we all know that main is the entrance of the program. That main as a function, and who calls it, how it is called, returned to whom,
Four tips for Linux mkdir, tar, and kill commands
We have been doing a task in a regular way until we know there are better solutions. As a follow-up of the Linux tips and tricks series, I will introduce four tips that can help you in various
Shell Command and process control, Shell command Process Control
Shell commands and Process ControlThree types of commands can be used in shell scripts:
1) Unix command:Although any unix command can be used in shell scripts, some more common
Install the mbstring extension of php in CentOS
If the mbstring extension of php is not installed, some problems may occur:
Example 1: When logging on to phpMyAdmin, the system will prompt no string encoding and no string processing library
CentOS restore the deleted boot Partition
In CentOS 6, the boot partition is deleted due to carelessness or operation errors,
In this case, can I restore the deleted boot partition?
1. Use the centos6 image to enter the linux rescue mode.
2.
Network Configuration for Linux (Ubuntu)
Modify IP AddressThere are two methods: The ifconfig command and the network-related configuration file.Ifconfig command
Example: sudo ifconfig eth0 192.168.108.54 netmask 255.255.255.0
If the network adapter
Exception Server Detection Technology Used by Netflix
In the early morning, half of our technical support team was still investigating the cause of Netflix's error. The system seems to be running normally, but we cannot find anything wrong. After
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