1. dumpe2fs [-BH] devicename: query superblock information.Parameters:-B: Lists the parts that are reserved for bad lanes;-H: Lists the data for the Superblock and does not list other section content.2. DF [-ahikhtm] directory or file name: Lists
Static library generation and
use under LinuxI. Static Library Concepts1. library is a precompiled target file (Object files) Special archive ( archive file 2. /usr/lib /lib unix system c /usr/lib/libm.a
It is often necessary to test performance in Linux endpoints, such as Flash read and write performance. This requires the timing of an operation.The results were obtained by using the date command and then manually subtracting.Simple measurement is
Experimental environment: vmworkstation10,centos6.5, remote terminal Xshell, the operating system has been installed Apache. The IP of the virtual machine is 192.168.1.55.The network installation server needs to start the service.DHCP: Used to
recently, I have been writing PPC simulators and assemblers, also in the design. So the new look at "Bird's Linux private dishes", or a lot of commands are not familiar. I'm going to write a few blog notes down. 1. nl [-BNW] FileName: Add line
Linux FTP ServiceActive Mode Port : The server actively initiates a data connection. The client establishes an FTP data connection to the server port . The server sends data from port to client random port. Passive Mode PASV : The server is
Many times, because the root user, we are not commonly used, so forget the password is often the case, then how can we solve it? I now know that there are two types of boot-time access to single-user mode can be directly modified root
Permission Settingschmod changing the permissions of a file or directoryFormat chmod parameter file nameR-Read W-write X-ExecuteU-user owner G-group belongs to group o-others others a-all everyone+ Add a permission-Cancel a permission= gives the
Cut-divides the line into the specified fragment according to the requirementsCommon parameters:-D to ... As the delimiter-D: Split Line (similar to split in Python)-F Gets the split column-f1-3 the 1th to 3rd column (that is, the three-in-one
First we need to download this toolHttp://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library#Downloads650) this.width=650; "title=" Image "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0
When applying unix/linux, we usually want to let a program run in the background, so we will often use & at the end of the program to let the program run automatically. For example we want to run MySQL in the
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )———————————————. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip FileName. tar.gz and.
Linux shuts down firewall 1. Effective after rebootOpen: Chkconfig iptables onOFF: Chkconfig iptables off 2. Immediate effect, failure after rebootOpen: Service iptables startClose: Service iptables stop 3. When the firewall is turned on, make the
Background:We often encounter the problem of handle leaks when developing Linux online servers. Because in the Linux system design to follow everything is the principle of the document, that is, disk files, directories, network sockets, disks,
1. Not stated #include 2,using namespace std; Beginners in C + + programming in Linux encounter an error "'cout ' has not been declared in this scope ."Many people will find it strange that I write strictly in accordance with C + + syntax, why do
The role of a Linux under Link fileLinux pays particular attention to the user's privileges, and the role of the linked file is a reflection of this aspect. The location of the source file is hidden, and the user only operates on the linked file.The
Linux awk details and applications, linuxawk details
This article is from my personal blog: linux awk details and Applications
1. awk
Awk is a powerful text analysis tool that generates a data report by analyzing the text. The principle is to read
How to deal with CentOS server disk full
[Root @ localhost mapper] # dfFile System 1 K-block used available % mount point/dev/mapper/VolGroup00-LogVol00269232512 255332084 3520 100% 101086 // dev/sda1 20998 74869 22% 5956256/boottmpfs 5956256 0
Write Linux scripts
The following is a shell script for restarting a process in Linux. Take the tomcat process as an example:
#! /Bin/shpid = 'ps-ef | grep tomcat | grep-v grep | awk' {print $2} ''if [" $ pid "="]; then echo "tomcat service does
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