Linux system Environment How to obtain the USB disk plug information _unix Linux

The following example listens to the kernel's HotPlug event, the source code is as follows: Copy Code code as follows: #include #include #include #include #include #include #include #include #include #include

Linux system "Crash" solution _unix Linux

If the problem can be reproduced, then the problem has been solved 80%. For the operating system core, if there is a problem to reproduce the method, it can be said that has been resolved 99%. Often the problem is that the system can run normally

Common commands in linux summary _unix Linux

I. Compression and decompression1.rar PackageCompression process: RAR A compressed file name. rar to be pressedDecompression process: Unrar x to extract files 2.zipCompression procedure: Zip-Compressed file name. zip pending filesDecompression

Linux system single NIC binding dual IP specific operation method _unix Linux

1. Enter the catalogue:cd/etc/sysconfig/network-scripts/ 2. Use VI command to edit Ifcfg-eth0 as follows:# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]Device=eth0Bootproto=staticbroadcast=192.168.0.255Hwaddr=00:0c:29:25:96:a3#第1个IPipaddr=192.

A detailed analysis of the related configuration of SSH under Linux system _unix Linux

SSH is a common way to log on to the Linux server, but for security reasons, sometimes we need to do some special SSH processing, this article records the author has done some changes for everyone's reference. First, modify the SSH port SSH

Tools for modifying users under Linux 1th/2 page _unix Linux

1, CHFN Modify the user information tools; CHFN This tool is mainly used to change the user's full name, office address, telephone and so on; CHFN [F full-name] [-O Office] [-P office-phone] [-H home-phone] [-u] [-v] [username] The easiest way to

Linux Common Disk Operation command to organize _unix Linux

svn

Copy Code code as follows: #按照目录大小排序战士最前面15个目录或者文件 DU-XB M--max-depth=2/var | Sort-rn | Head-n 15 #列出当前所有子目录的文件大小 Du-h--max-depth=1 #列出当前文件或者目录最大的10个 Du-s * | Sort-n | Tail #按照目录大小从大到小排序 Du-b--max-depth 1 | Sort-nr | Perl-pe ' s{([

Linux to see which processes occupy the swap partition implementation script _unix Linux

It is believed that many system administrators may have encountered this situation, using a login to a server, use the free command to view memory, but found that the swap partition is occupied. So exactly what process is taking up this part of the

Changing keyboard mapping solution under Linux _unix Linux

Linux Xmodmap Modify keyboard mappings Caps_lock and super_l swaps Change the awesome window manager to go. Because the unity of Ubuntu is still not very stable. Occasionally stuck for half a day, can not stand decisive will once awesome. It's

The method of using bind to erect DNS server under Freebsd6.1release _unix Linux

Through this server, so that intranet users can access the Internet, here we use the FreeBSD with the bind to achieve DNS resolution, in fact, many DNS on the Internet use this software. The basic procedure is as follows:◇The DNS parent domain

Linux adds new hard disks, formats, and mounts automatically

[[email protected] ~]# fdisk /dev/vdb anaconda-ks.cfg  .bash_profile     .pki/            .bash_history     .bashrc          .tcshrc           .bash_logout     .cshrc            .viminfo          [[email protected] ~]# fdisk /dev/vdb      # The

Yum Source in Linux

Disc Yum Source:In the case of no network:Mount Disc: Mkdir/mnt/cdrom set up mount pointMount/dev/cdrom/mnt/cdrom Mounting DiscsDisable the network Yum Source: Cd/etc/yum.repos.d/into the Yum source directoryMV Centos-base.repo Centos-base.repo.bak

"Linux learning three" Linux system directory Architecture

Mainly include:Bin: The executable file is saved, the binary is the commandBoot: Boot directory, operating system startup load, including version kernel file, Greb boot program ...Dev: Hardware device files, such as hard disk, network card, sound

Linux Memory layout

In the previous blog post, we have seen how Linux effectively uses 80x86 's segmented and paged hardware units to translate logical addresses into linear addresses, which are translated from linear to physical addresses. So how does our application

Compiling and using Kpath does not restart the update Linux-kernel

Yum Install Ncurses-devel-yTAR-XVF LINUX-4.9.3.TAR.XZCD linux-4.9.3/Make MenuconfigMake allMake Modules_installMake installThe Kpatch consists of four components. Kpatch-build produces hot patches. Generate HotPatch by contrasting kernel

How to switch to root user under Linux

When the default installation is complete and you do not know the root user's password, how do I apply root permissions?(1) sudo command[Email protected]:~$ sudoThis allows you to enter the current administrator user password to get superuser

GPASSWD Command--linux command application of large dictionary 729 commands interpretation

The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not

Linux View system number of bits

Several ways to see how many bits Linux isMethod/Step Method One: getconf long_bitEnter the getconf long_bit command on the Linux terminalIf it is a 32-bit machine, the result is 32Linux Code[Email protected] ~]# getconf long_bit32If it is a

Linux version Selection

Desktop systems-Ubuntu, developers also like to use UbuntuServer--Rhel or Centos,rhel for moneyHigh security requirements-Decian or FreeBSDNeed to use database Advanced Services and e-mail network Applications-SUSE (more in Germany)Want to use new

Starting a project -- better than running a job, better than running a job

Starting a project -- better than running a job, better than running a job 0.0The main purpose of this Blog is to start learning the Linux kernel and start with the third edition of the book "laruence's Linux private house dish". Currently, there

Total Pages: 5467 1 .... 3890 3891 3892 3893 3894 .... 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.