[Linux drive]linux block device learning Note (ii)

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

Linux Learning Note Tail command

#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

Basic Network configuration under Linux

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 usage of linux command notes

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 crontab

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

Linux basic commands

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:

Linux Common Commands ll is ls-l--color=auto

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

Cat command merges files with Linux redirection

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-

Build your own VPN Server (centos 6.x), centos6.x

Build your own VPN Server (centos 6.x), centos6.x 1. Download the one-click installation script # touch vpn_centos6.sh# chmod a+x vpn_centos6.sh   #!/bin/bashfunction installVPN(){ echo "begin to install VPN services"; #check wether vps suppot

Detailed explanation of VMware networking after Minimal installation of CentOS Minimal

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

Configure SSH password-free login for ubuntu

Configure SSH password-free login for ubuntu Configure SSH password-free login for ubuntu 1. Install SSH: 2. Whether to generate the. ssh directory: Vc3ryb25np1_vcd4kpha + pc9wpgo8cd4gpgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20

Enable the rewrite module for Apache in ubuntu

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

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 copying

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 CD

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

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

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

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

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

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.

Total Pages: 5467 1 .... 4142 4143 4144 4145 4146 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.