Linux disk is fully occupied
When a disk is occupied by a large file, and the large file is being read and written by some processes and is occupied, the file cannot be deleted and empty at this time, only the process that occupies the large
1. The most critical commandMansEcho2. Directory File Operations CommandLS: View the file information or file information under the directoryDirPWD: Print the current pathCD: Change pathmkdir: Creating a pathRmDir: Delete PathCP: Copying Files or
Preface : Organize the Linux socket programming related APIs and knowledge pointsFlow Socket Processing FlowDatagram Socket processing Flowbyte order : Byte order has a small end of the big-endian, different processing architectures when storing a
Menu (Player) is a removable device, select a USB flash drive, then select Connect (Disconnect the host), and then on the command line, enterFdisk-lNormally the SDA is the hard disk information, then you will see a single hop SDB4 information (SDB4
User and Group Management commandsUseradd: Used to create a new userFormat: useradd [options] User name-D Specify the user's home directory-D Show default values-e account expiration date, format: Yyyy-mm-dd.-G Specify an initial user group (must
The zero-based Linux sixth chapterThe universe is vast, boundless, the earth is just one of the eight planets in the solar system, as one of the countless planets, the earth is not special .... But... Small series of blog, absolutely ~ ~ Special ~6
Method One:Command: Uname-aFunction: View system kernel version number and system nameMethod Two:Command: Cat/proc/versionFunction: View the directory "/proc" under the version of the information, you can also get the current system's kernel
Although the Find command search ability is strong, but for a large number of searches, find search is much slower, especially every time from the entire file system to search, then we can use the Locate command to find, the search is almost
Command: Date [options]In Linux shell programming, the addition and subtraction of dates is often usedI used to use the expr function to calculate the problem.Actually, the date command itself provides the addition and subtraction of dates.Very
One.Common Commands1.View FilesTail-f file name to see what's at the back Cat file name View all the contents of a file2.Edit File ContentsVim file name enters edit modeI for editingESC Exit Edit: Wq Save Exit: q! do not save exitShift+g (g)
Memcached supports many platforms: Linux, FreeBSD, Solaris, Mac OS, or Windows.The Linux system installs the memcached, first installs the Libevent library.Yum Install libevent libevent-deve automatic Download installation
In Linux, if we have too many files, it is unrealistic to look for it slowly, so we need to search using the search tool, which describes a search command: findBasic usage Syntax:Find directory-name keyword-printThis command means to view a file in
Setup after system installation is complete1) Shut down the firewall/etc/init.d/iptables stopSet boot not load Chkconfig iptables offView the status of the firewall iptables-l2) Turn off SELinux:View the status of SELinux GetenforceSet temporary
mkdir command to create one or more directories at a timeBasic usage Syntax:mkdir Directory Name[Email protected]:~/eth10/eth10# mkdir test[email protected]:~/eth10/eth10# lstest[email protected]:~/eth10/eth10#[Email protected]:~/eth10/eth10# mkdir
First column >:inode index node numberWhen the system reads the file, the inode is first found through the file name and then the contents of the files can be readThe second column;: File type and permissions total 11 characters1) 1th character,
Linux system operation, most of them do not use the shortcut key habits, feel the mouse point is convenient, in fact, in some operations, the use of shortcut keys can save a lot of time, the following gives you a detailed introduction of the Linux
PuTTY, PuTTY
After configuring the Linux static IP address, make sure that you can connect to the physical host and write down the Linux IP address.
PuTTYUse
Download and install putty(installation package putty.exe), official website address
Method
Nohup/setsid/& make the process run reliably in the background, nohupsetsid
When a user logs out or the network is disconnected, the supervisor receives a HUP signal to close all of its sub-processes. Therefore, there are two ways to solve this
Install Mysql5.7 and centosmysql5.7 on Centos1. Add MySQL Yum repository 1.1 first download the RPM Software Package released by the platform http://dev.mysql.com/downloads/repo/yum/, I download it
mysql57-community-release-el6-11.noarch.rpm
1.2
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