View File System attributes
Dumpe2fs displays the super block and blocks group information of the file system.
If no parameter is specified, all content is displayed.
-H: only list superblock data
Notes for frequently used superblock display
Yesterday, we introduced how to manually execute commands to mount a file system. If you often need to mount some file systems, how can I enable the system to automatically mount them at startup? The following two methods are described:
Method
The test uses ubuntu11.10, CERNET broadband, static IP, and no route.
If you are using a route, it should not be very slow. If the route comes with the DNS Cache function, you can try to disable ipv6 and the local DNS cache is
Two articles have previously reviewed the structure of the linux Virtual File System and the process of reading and writing linux Files. Some of the implementations by specific file system types are not described in detail, but they are implemented
In linux, we can use crontab to regularly move access. log to the backup directory. At the same time, we can signal USR1 to the nginx main process to generate a new log file.
Before writing a script, perform the following assumptions:
The log
When running yum install flash-plugin or yum install mplayer in CentOS, why is this software not found in the prompt library? Why? Because CentOS is compiled by RHEL, it removes all copyright issues. Therefore, many software cannot be directly
I 've recently seen many people on the internet struggle to make their own releases, so I took my notes and shared them with you.
Note: The Path/data/disk is the path of the CD. You can modify it according to your environment.
=================
The relationship between linux (unix) processes and files is complex. This tutorial attempts to elaborate on this issue in detail. Including: 1. association between multi-process and multi-/single-file in linux for file streams and descriptors and
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
1. Download jdk5.0 for linux
Go to sun's home page http://java.sun.com/j2se/1.5.0/download.jsp to download the jdk Installation File jdk-1_5_0_05-linux-i586.bin
2. decompress and install jdk
Enter the directory of the jdk-1_5_0_05-linux-i586.
The main post to be deleted must be counted in the log file, and the log file is separated by tab characters. Assume that the log file name is delete. log.
Save the format and save the data as follows,
Delete date post type (11 as the main
Only operations on one machine are listed. From rac01-ud-us-eqx to rac02-ud-us-eqx and rac03-ud-us-eqx
Bash-3.00 $ ssh 10.12.32.182
The authenticity of host '10. 12.32.182 (10.12.32.182) 'can't be established.
RSA key fingerprint is 7e: 8d: db: aa:
If you use the 163 image source and then use sudo apt-get install mysql-server, you cannot install other dependent packages automatically. The solution is to change the source to another one, I will return to the default ubuntu source here. Then
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
This is an example of Windows Startup by default:
1. First find Windows menuentry.
# Cat/boot/grub2/grub. cfg | grep Windows
Result:
Menuentry "Windows 7 (loader) (on/dev/sda1)" -- class windows -- class OS {
2. Set Windows as the
Install Google PinYin Input Method in Ubuntu 10.04 as follows:
A. get the code: (install git first without git: sudo apt-get install git-core)
$ Git clone git: // github.com/tchaikov/scim-googlepinyin.git
$ Cd scim-googlepinyin
B.
Linux Command Line history is a well-known but not commonly used command, because to check the number of a command, you need to enter history | grep xxx, And because !? Xxx ,! Xxx is neither running nor running, and ctrl + r is much more convenient.
Author Li Wanpeng
1.
Add User useradd + name
2.
Whoami command to view the current user and exit the current user using the exit command
3.
Ls-
. Bash_profile. bashrc
These two are the initialization of the user's login Environment
.
Used to generate all integers between one number and the other.Example 1:# Seq 1 10The result is 1 2 3 4 5 6 7 8 9 10.Example 2:#! /Bin/bashFor I in 'seq 1 10 ';DoEcho $ I;DoneOr useFor I in $ (seq 1 10)Yes.Seq-F, -- format = FORMAT use printf style
The grep command is a row filtering tool in linux with a wide range of parameters. The following describes the functions of each parameter and hopes to help you.Grep -- print lines matching a pattern (list the rows that match the style)◎ Syntax:
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