We use closeto terminate the association between a file descriptor, Fildes, and its file. The file descriptor becomes available for reuse. It returns 0 if successful and-1 on error.
# Include
Int close (INT Fildes );
Note that
Shell's built-in command exec will not start a new shell, but will replace the current shell process with the command to be executed and clean up the environment of the old process, in addition, other commands after the exec command will not be
When installing oracle on Linux, the following errors are often reported:
You cannot use the command/usr/x11r6/bin/xdpyinfo to automatically check the display color. Check whether the DISPLAY variable is set.
You can use the following command to
1. Introduction to streaming media
Streaming media refers to the continuous time-based media transmitted using stream technology in the network. It features that the entire file does not need to be downloaded before playback, but is played by
During programming yesterday, segmentation fault was encountered. I found it only when debugging with GDB, by the way. I am used to graphic interface debugging tools, but I am not used to using command lines. I asked Google about this error. I
@ Page {size: 8.5in 11in; margin: 0.79in}P {margin-bottom: 0.08in}-->
Today, we need to put a lot(ApproximatelyMore than 300) MessySort the email addresses and send them a message to notify them of the submission of an academic meeting.
It is
The previous sections briefly explain the permissions of Linux Files. Now let's take a look at common commands, starting from a simple:
1. Switch the Directory
CD
To the/tmp directory: CD/tmp
To the upper Directory: CD ..
2. view the current
I. LINUX partition formatIn Windows, the partition format is generally FAT32 or NTFS, while in Linux, we generally use ext2 or ext3 format, which is generally considered to be better in ext3 format. now, some friends who have just started to learn
Anonymous Interface
A set of interfaces does not always need an address. For example, the socketpair function creates two interfaces that are connected to each other, but there is no address. In fact, they are an unknown set of interfaces. Imagine
Sed [stream Editor]: Row Editor
Sed is an online editor that processes a row of content at a time. During processing, the currently processed rows are stored in the temporary buffer, called the pattern space. Then, the SED command is used to process
1. Write a script to delete all partition information in a hard disk and re-divide it into three partitions:1. prompt the user to specify the disk to operate. If there is a new area in the hard disk, display the partition information and determine
1 makefile Overview
Makefile is used to construct a list of source files to be compiled based on the configuration, compile them separately, and link the target code together to form a Linux kernel binary file.
Since the Linux kernel source code is
# Trigger mounting1. Main configuration file/MISC/etc/auto. Misc
2. Auxiliary configuration file[Root @ WWW ~] # Vim/etc/auto. Master# Sample auto. Master File# This is an automounter map and it has the following format# Key
There are a lot of online configuration methods. For more details, you can find them on the Internet. I won't write them very detailed here, but I won't talk about step by step, the most important thing is to know the implementation principle! I
Address: http://www.linuxeden.com/html/softuse/20100413/102546.html
Although I will never forget my password, I will study this topic carefully to prevent my mother from reading my ICQ one day.Chat records may be useful.
If a common user (non-Root
Personal Linux Summary
Author: Linux knowledge (http://www.linuxmine.com)
From: Linux knowledge (http://www.linuxmine.com)
Existing: http://www.linuxmine.com/5698.html
Contact: linuxmine # gmail.com
Do not understand? Welcome to the Linux Forum
The source code of the UDP Communication Server is as follows:
# Include # Include # Include # Include # Include # Include # Include # Include /*************************************** *********************
From: http://fedora.linuxsir.org/main? Q = node/91
Author:North SouthFrom:Linuxsir. orgAbstract:This document describes the concepts of user and group management in Linux, and lists commands related to user and group; here, we also describe the
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