Mkdir can only create one path, for example,/home/XYZ/ABC/123. ABC must already exist. Otherwise, mkdir reports an error. So I wrote a simple function that can create multi-layer paths. In the above example, XYZ and ABC do not exist.
Bool create_
Every time I compile a project in Linux, whether it is the latest. o file or notRe-compilation, so it was a mess. After ccache was installed, this problem was solved ~~~ Very easy to use :)
Install and use ccache
1 switch to the root user to
How to bind Dual IP addresses to a single Nic in Linux
1. Enter the directory:
CD/etc/sysconfig/network-scripts/
2. Use the VI command to edit the ifcfg-eth0 as follows:
# Advanced Micro Devices [amd] 79c970 [pcnet32
The usage of diff and patch is always unknown.
Mark it here
Diff [Options] oldfile newfile[Options]-R: recursive option, including subdirectory files-U: Creates patch files in a unified format. The standard format is used.-N: Correct Handling of
Linux commands line V1.0-linuxguide. it
Format a filesystem
Mkfs/dev/hda1 create a filesystem type Linux on hda1 Partition
Mke2fs/dev/hda1 create a filesystem type Linux ext2 on hda1 Partition
Mke2fs-J/dev/hda1 create a filesystem type Linux ext3
If you want to write a network program in Linux, you will encounter this bytecode problem,
Instead of searching for materials every time you encounter it, you should make a simple diagram.
All the information mentioned here is verified on your own
1. View Mail help information[Root @ local ~] # Mail-HMail: Invalid option -- HUsage: Mail [-iinv] [-s subject] [-c cc-ADDR] [-B bcc-ADDR] To-ADDR...[-- Sendmail-options...]Mail [-iinnv]-f [name]Mail [-iinnv] [-u user]
2. Use the MAIL command to
Meego x86 development on ello world-Linux
Contents
1 Introduction
2. How to develop (brief description)
3. How to develop (detailed description)
3.1 install meego SDK on your machine
3.2 enter the meego chroot environment
3.3 running Simulator
3.4
Linux, the operating system for all people on Earth, has won wide acclaim for its free, secure, and stable advantages! The following yarn lists the advantages of Linux over windows.Upgrade to the latest version without a penny. (For Windows or apple,
The red-black tree is a type of balanced binary tree. It has a good nature. The nodes in the tree are ordered, and because it is a balance, the search will not be very bad, the time complexity of binary tree-based operations is O (log (n )). During
View interrupt request records in Linux. Through the response of the CPU interrupt request, we can see the information about the devices for which the CPU is working and the number of active resources.
[~] $ CAT/proc/interrupts
Cpu0 cpu1 cpu2
Common commands for Linux VI editing-Source: Internet Author: anonymous name time: 07-10 21:31:14 [large, medium, and small] Comment: Linux VI editing Common commands. For more information, see-
There are three status modes in the VI editor.
1.
Environment: S/390 or zseries; linuxfor S/390
Problem: when installing db2for Linux/390, you must add three users: db2iadm1, db2fadm1, and db2asgrp.
Group, and add three users: db2inst1, db2fenc1, and db2as. In this case, the user cannot be added.
1. Source command usage:
Sourcefilename
Purpose: read and execute the command in filename in the current bash environment. This filename file may not have "execution permission"
Note: This command is usually replaced by the "." command.
Summary of common Linux commands
1. compression and decompression
1.rar package
Compression Process: file name .rar to be compressed after RARDecompression process: unrar X files to be decompressed
2. Zip
Compression Process: zip file name. ZIP
Checkinstall is a program that can automatically generate the RPM/Debian or slackware installation package from the source code of the tar.gz class. With checkinstall, you can use almost all the tar.gz class source code to generate a "clean"
Recommended blog posts:Linux Kernel "problem Gate"-learning issues and experience highlights
Recommended download:Methodology of essence edition of "Cultivation of Linux kernel"
According to the distribution of kconfig, the PCI code should be
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