Find./-name "makefile"
Search for the file path listing the current directory named "makefile"
Grep-Nr "test "./
Recursively search all files including "test" in the current directory
Perl-pi-E's | str1 | str2 | g'' find./-type F'
Replace
Statement: I am a fedora8 Linux User. Assume that the current user is Abin. 1. Download The jdk-6u4-linux-i586.bin to www.sun.com, assuming it is downloaded to the current user directory;2. Create the Software Directory under/home/Abin and copy the
When extracting a file
# Tar-zxvf xxxxx.tar.gz
The following error message is displayed:
Gzip: stdin: Not in GZIP formatTar: child returned status 1Tar: Error exit delayed from previous errors
You used "Tar-zxvf" for the second command.
First, open the target device.
Second, set the sigio Signal Processing for the target device.
Program .
Third, you need to call the fcntl system to make the current process the master of the file. (In this way, the signal in the file can be used
To
$ Compile and install Linux kernel:
[Bady] # cd/tmp/* first put the downloaded installation package in the/tmp/directory */
[Bady] # tar jxvf linux-2.6.16.tar.bz2-C/usr/src // * decompress the kernel package to the/usr/src/directory */
[Bady] #
Message Queue (also called Message Queue) can overcome some shortcomings of the early UNIX communication mechanism. As one of the early UNIX communication mechanisms, the amount of information that a signal can transmit is limited. Although POSIX 100
LINUX serial port Program
Original link http://www.plugcomputer.org/plugwiki/index.php/Serial_terminal/Linux/Programs
Putty
Serial Port Terminal command line program
Putty
N install putty
Run the command as root On Debian or Debian-based
When writing server code, services may not be distributed on the same machine (for example, a cluster). It is necessary to synchronize the system time of these machines as follows:
1. Install ntpdate
Command Line: sudo apt-Get install ntpdate
2.
Basic File Operations1. Create a file with touch2. CP copy and link (s, L) files3. rename a music video. This process is called mobile4. rm delete files (-RF can also delete directories)
Directory Processing5. Create a directory using mkdir6. Delete
0. Related header files
#
Include
#
Include
#
Include #
Include
#
Include #
Include # include #
Include
#
Include #
Include #
Include #
Include #
Include
1. Socket InitializationS = socket (af_inet, sock_dgram,Ipproto_udp ); If(S =-1)Return-1; S
Server A (Server 1) IP Address: 192.168.0.108
Server B (Server 2) IP Address: 192.168.0.109
Server 1 Configuration1) edit the/etc/rsyncd. conf file. The main configuration file of rsync:# [Globale]Strict modes = Yes# Check passwd filePort = 873#
Author-------Dansen-----xzd2734@163.com
Wait_queue_head_t wait_q;First, let's look at the structure of the waiting queue wait_queue_head_t.This structure is defined in wait. h.Typedef struct _ wait_queue_head wait_queue_head_t;Struct _
This article describes how to use basic security measures to make your Linux system reliable.
1. BIOS SecurityYou must set a password for the BIOS to prevent starting from a floppy disk by changing the startup sequence in the BIOS. This can prevent
$ Path: determines which directories The shell will look for commands or programs. The path value is a series of directories. When you run a program, Linux searches for compilation links under these directories.
Edit your path declaration in the
Modify Linux kernel boot logo and center full screen display
1. Prepare Images
Using the Graph Software gimp that comes with Ubuntu is the fastest way to convert images. You can also use commands to convert images. In actual testing, an error is
Header file # include
Load dynamic library
Void * dlopen (const char * filename, int flag );
Possible flag values:
L rtld_lazy
L rtld_now
L rtld_global
L rtld_local
L rtld_nodelete (since glibc 2.2)
L rtld_noload (since glibc 2.2)
L
1. The Soft Interrupt of registration is, of course, through open_softirq
Example:
void __init init_timers(void){int err = timer_cpu_notify(&timers_nb, (unsigned long)CPU_UP_PREPARE,(void *)(long)smp_processor_id());init_timer_stats();BUG_ON(err ==
Memory File System (Linux, FreeBSD)In Linux, part of the memory can be used as a partition, which is called ramdisk. For frequently accessed files that are not changed, you can place them in the memory through ramdisk to significantly improve 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