1,gendisk Structural BodyIn the Linux kernel, using the Gendisk struct to represent an abstraction of an actual disk device, the struct definition is as follows:[CPP]View Plaincopy
struct Gendisk {
int major; //main device number
int
#tail-F-N-catalina.outMeaning: monitor catalina.out files from the tail of the file main look at the tail 100 lines#tail-F-N catalina.out > nohup.out&------------can also specify the path to the output file& Into the background> Output content to
The first type: Use the command to modify (direct immediate effect, restart failure)#ifconfig eth0 192.168.0.1 netmask 255.255.255.0 upDescriptionEth0 is the first Nic, and the others are eth1,eth*192.168.0.1 is the IP address configured for the
Dmidecode is used to view device hardware information, including device model,BIOS, System, motherboard, processor, memory, cache details, and more. Common parameters:# dmidecode-hUsage:dmidecode [OPTIONS]Options are:-D,--dev-mem file Read memory
Linux Plan crontabStart the crontab serviceGeneral start service with/sbin/service Crond startIf the root user's cron service can be crond start with sudo servicesSee if the service is already running with Ps-ax | grep cronSee if the Crontab service
Wget is a free tool that automatically downloads files from the webThe TAR-ZCXF command is to pack the files and compress them first.The TAR-ZVXF command is to unzip and repackage this file.CD: Return to the previous levelExit the file being edited:
1.linux system operation or development, will often use the ll is the ls-l--color=auto command. Like LL-HF,[[email protected] ~]$ ll-hf total dosage 1.1gdrwxrwxr-x. 2 Doctor Doctor 4.0K January 10:23 documents/-rw-r-----. 1 Doctor doctor 701M
Take a look at the documentation:[[email protected] documents]$ cat--help usage: cat [options] ... [File] ... Output the [file] or standard input combination to the standard output. -A,--show-all equals-vet- B,--number-nonblank to non-
Detailed explanation of VMware networking after Minimal installation of CentOS Minimal
Recently I want to create a mailman email list, and I don't want to experiment on my commonly used CentOS 6.4. I am afraid it will damage the environment. So I
Enable the rewrite module for Apache in ubuntu
Enable rewrite Module
Sudo a2enmod rewrite
In the/etc/apache2 directory, the options are "mod-available" and "mod-enabled ).
The above command alone is not enough to rewrite the mechanism for
Mount ntfs mobile hard drives to centos
This article only describes how to mount a partition hard disk in ntfs format in linux.
Step 1: Install the ntfs3g ToolRun the following command:Wget
Centos Remote File copying1. on the same machine:1. overwrite the copyIt is easy to copy files on centos using cp-p-r-f "/var" "/mnt/ubak/" (example. However, if you use remote replication such as putty, the task should be stopped after the putty is
How to burn a CentOS CDIt is very easy to burn a CD in centos, just enter the following command in the terminal window:Cdrecord-v-eject speed = 8 dev =/dev/cdwriter driveropts = burnfree test. isoCdrecord software is generally available in the
View the hard disk status of the centos Server
If HDTune is available in windows, you can view the disk status to prevent the disk from being crashed. In CentOS, SMART (Self-Monitoring, Analysis and Reporting Technology System) also checks the disk
Linux Command learning Summary: cp command, linux Command summary cp
Command introduction:
The cp command is used to copy files or directories. Command syntax: copy
Command path:/bin/cp
Command syntax:
Usage: cp [OPTION]... [-T] SOURCE
Display and modify Grub command lines when Linux is started
1. When the Linux system is started, if the/boot/grub. cfg file is corrupted or does not exist, the Grub command line prompt is displayed when the Linux system is started.
Follow these
Configure hadoop 2.6.0 pseudo-distributed in CentOS 6.5
Operating System: CentOS 6.5 32-bit
Java environment: jdk 1.7.0 _ 71
Hadoop: http://apache.fayea.com/hadoop/common/stable/hadoop-2.6.0.tar.gz
1. create user groups and users
Use the su command
Use the forwarding server to enhance the security of the Postfix Mail Server
After you start and run the application server, you need a good mail server to deliver the mail for you. I have activated the Postfix mail service for all my servers.
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