//read function#include #include#include/*Stdin_fileno: Standard input, value is 0 Stdout_fileno: standard output, value is 1 Stderr_fileno: standard error, value is 2 header file is unistd.hread (file identifier, buffer, buffer size) function is
Recently in the programming of Linux network, always encountered such a thing, the program logic is not wrong, but the program run to a place to stop there, and later found in PRINRF () to add a line to run normally, such as "printf (" 123 ");
There is a macro __stringify in the Linux kernel, which is defined in Include/linux/stringify.h as follows:#ifndef __linux_stringify_h #define __linux_stringify_h/* Indirect stringification. Doing levels allows the parameter to be a * macro
2 Ways to modify IP on the linux command line 2010-12-30 10:25:50Category: LINUXWay One:Ifconfig eth0 192.168.1.18 netmask 255.255.255.0Note: This method can make the change take effect immediately, after reboot will revert to the original IPWay two:
1. Each disk partition is treated as a separate device.2. Each storage device has its own local file system.3. Enter the mount command itself to display a list of file systems currently mounted on the system.4.which1.-t vfstype Specifies the type of
ExtractSyntax: tar [main option + Secondary options] file or directoryWhen using this command, the main option is required, and it tells Tar what to do, auxiliary options are auxiliary and can be used.Main options:C Create a new profile. Select this
1. Network Query and configurationQuery NIC and configuration information: IfconfigQuery the specified NIC information: Ifconfig eth1Configure network card IP information: vi/etc/sysconfig/network-scripts/ifcfg-eth0 (insert: Enter edit mode, Esc,:wq
Linux Operations Learning Notes (i)First, Configure the network card1. after logging in through the root account, enter the Setup command.2. Select the third item "Network Configuration"3. continue to select "Network card Settings"4. Select the
Modify the Linux host nameLinux is a bit of a hassle, even modifying the hostname is no exception.When Linux is installed, its default hostname is localhost. It takes 3 steps to modify the Linux host name.
Use hostname to modify the current
The NFS network File system allows Linux hosts to share files across the network, and clients can read and write remote files as if they were local files!1. Install NFSYum Install nfs-utils #其他依赖会自动安装2. Configure NFSNFS has only one configuration
Copyright Notice: This article from Fat Meow ~ blog, reprint must indicate the source. Reprint Please specify source: http://www.cnblogs.com/by-dream/p/5784288.htmlObjective
The previous article mainly on how to use JMeter under the Windows
Linux Operating system Basics First, the basic principles of Linux:1, consisting of a small program with a single purpose; a combination of small procedures to complete complex tasks;2, all documents;3, try to avoid capturing user interface;4.
A Linux file system typically consists of three parts: Superblock, Inode, block (the concept of block consists of disk drives).
↓
Superblock: Record The overall information of this filesystem, including the total amount of
The source code is as follows:Simple implementation of a simple progress bar display under the command line, can simulate the current progress of the actual and with the rotation of the characters to indicate that the code is running not stuck.The
First, File search1.locate command: Locate keyword common options: -i perform case-sensitive search -n n only lists the pre-built file index database on the first n matching items query system on:/var/lib/mlocate/mlocate.db, because the
Source: HTTP://MAN.LINUXDE.NET/GCCGrammarGCC Options ParametersOptions-o: Specifies the generated output file;-E: performs only compile preprocessing;-S: Converts C code to assembly code;-Wall: Displays a warning message;-C: Only the compilation
Main reference http://www.cnblogs.com/haibindev/archive/2011/12/01/2270126.htmlThere was a problem compiling LIBFAAC on my machine. Output is as follows.. /LIBFAAC/.LIBS/LIBFAAC.A (FRAME.O): frame.c: (. text+0x1e7): Undefined reference to '
QQ Group in the discussion of Windows and Linux, MAC, with mobile phone code The following reply, simply turn around as a blog opening. :)UNIX and Linux outside the main cause of fire is open source, the spirit of foreign advocating freedom from
Experience in installing virtualbox Virtual Machine in kali linux
Many kali enthusiasts want to use kali linux as a system, but some programs in Windows sometimes need to use it, and virtual machines are required at this time.
The kali system will
Linux ssh cannot connect to other hosts, and linuxssh cannot connect
For example, ssh 10.0.1.23 may occur in the following situations:
@ WARNING: remote host identification has changed! @It is possible that someone is doing something nasty!Someone
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