TIPS: Do you know where iostat gets IO-related information? Use the strace command to track the answer:
Shell> strace-eopen iostatOpen ("/proc/diskstats", O_RDONLY)
Note: For more information about diskstats, see the official documentation (field1 ~
Vim Editor (. vimrc file) in Linux) When you use vim to edit a terminal, by default, the editing interface does not display line numbers, syntax High Brightness Display, smart indentation, and other functions. To better work in vim, You need to
I agree with the sub-night's suggestion that it is feasible to try it in 10.04.
Sudo service network-manager stop
Sudo rm/var/lib/NetworkManager. state
Sudo service network-manager start
Sudo
Data Compression has been very useful for us over the years. Whether it is a zip file used for sending images in an email or compressing data files on the server, we can make the download easier or more effective to save disk space. Some
Q1. What is GNU? What is the relationship between Linux and GNU?A:
1) GNU is Not Unix recursion abbreviation. It is a project of the Free Software Foundation (FSF), which has developed many high-quality programming tools, including the emacs editor,
Q1. What are the concepts of programs and processes? Why should we introduce the concept of "process?A:
1) a program is a common file and a collection of machine code commands and data. These commands and data are stored in an executable image on
Use ssh authentication in linux without entering a password to access another machine
In work, ssh authentication is usually performed on each machine that logs on to another machine through ssh, so you do not need to enter a complicated password
First look what ulimit is: http://baike.baidu.com/view/4832100.htm
In linux, you can use ulimit to modify the maximum number of files simultaneously opened by a process.
However, if your account is not a root account, but has sudo permissions
Sudo
To install Tomcat, you must first install JDK. If CentOS updates the software package, an openJDK is installed by default, but it does not feel as good as SunJDK when dealing with some problems.Here, we first unload the default JDK of the system,
1. Check whether the built-in JDK of CentOS is installed. If it has been installed and uninstalled
# Rpm-qa | grep jdk
# Rpm-qa | grep gcj
# Yum-y remove java-*-gcj-comat
2. Install JDK
Download jdk-6u18-linux-i586.bin or jdk-6u18-linux-i586-rpm.bin,
Chmod changes the permissions of files or directories
Format chmod parameter file name
R-read w-write x-Execute
O-ower owner g-group owner group o-others
+ Add a permission
-Cancel a permission.
= Grant the given permission and cancel all original
If you have a good memory, remember that the most I mentioned in the linux Device Driver instance post is the character device driver, so today's block I/O layer is a device that corresponds to the character device driver. The most fundamental
I. BUFFER MECHANISM
Based on the access method of the application to the file, that is, whether there is a buffer, access to the file can be divided into operations with a buffer and non-buffer file operations:
Buffer file operations: the
I recently learned about Vimtutor. Vim is widely used. Many Commands will be forgotten once they are not used. Below I will make a simple summary of the commands that are not used, for future review. For common commands such as Save, insert, and
After introducing the usage of Vim in the previous blog (VIM Study Notes), this article has reached the historical highest access volume. In the previous article, we introduced the basic usage of VIM, which is basically a summary of unfamiliar
1. First we need to download the ntfs-3g.
Http://www.tuxera.com/community/ntfs-3g-download/
2. decompress and install
[Root @ guo ~] #./Configure
[Root @ guo ~] # Make
[Root @ guo ~] # Make install # or 'sudo make install'
3. Mount
After I installed the software on the drive, I found that the drive could not pop up.
Linux-34:/# eject
Umount:/media/SLES100_001: device is busy
Umount:/media/SLES100_001: device is busy
Eject: unmount of '/dev/sr0' failed
Found in use?
If you
Common commands for packaging, compression, and decompression in Linux:
. Tar
Unpack: tar xvf FileName.tar
Package: tar cvf FileName.tar DirName
Note: tar is packed, not compressed
---------------
. Gz
Decompress 1: gunzip FileName.gz
Decompress 2:
The wc command of Linux is usually used together with other commands to calculate the line and other information. In Linux, wc is used for counting. The number of lines, characters, and bytes of the returned file.
Let's start with an example:
Zip encryption and compression in Linux
Zip-q-r-P password zipfile.zip sourcefiles.txt password is the encrypted password
Zipfile.zip is the generated compressed file.
Sourcefiles.txt is a compressed file.
Zip [parameters]
Package files in
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