Linux search, which is very convenient at work (including Linux commands)

fdf

Alias FDF = 'Find./-name'Alias FDJ = 'Find./-name "*. Java" | xargs grep-I $1'Alias FDC = 'Find./-name "*. c" | xargs grep-I $1'Alias fdcc = 'Find./-name "*. cpp" | xargs grep-I $1'Alias FDH = 'Find./-name "*. H" | xargs grep-I $1'Alias FDA = 'Find./

Linux Kernel Learning (20) One of the second layers of the device model

The second layer of the device model is also a very important layer, laying the foundation for various devices. As I found during the analysis, if every detail is merged, it may be difficult to understand the overview of the device model. Therefore,

Linux Kernel Learning (17) core programming basics-core linked list list_entry

The linked list in the kernel is widely used. Here we summarize some of Linux/list. H, which is also the most commonly used macro definition. Pro-III, kernel linked list:   1. Definition + initialization: # Define list_head_init (name) {& (name), & (

Layer 2 bus_register of Linux kernel learning (22) Device Model

Register the bus. From: dirvers/base/bus. C:Int bus_register (struct bus_type* Bus){Int retval;Struct bus_type_private * priv; Priv = kzarloc (sizeof (struct bus_type_private), gfp_kernel );If(! Priv)Return-enomem; Priv-> bus = bus;// Private member

Linux Kernel Learning (11) Overview of the entire process of startup II

This time, the main function is entered, in arch/x86/boot/Main. C. Void main (void){/* First, copy the boot header into the "zeropage "*/Copy_boot_params (); # copy the HDR parameter to the boot_params.hdr struct, in the file boot/bootparam. h. /*

Multi-Process Synchronization in Linux

Multi-Process Synchronization in Linux: For multi-process synchronization in Linux, the operation of a single semaphore is no longer possible. For multi-process communication, the signal set method can be used, A signal set contains multiple

Linux driver header file description

Http://hi.baidu.com/%BB%F0%D0%C7%C6%B0%B3%E6911/blog/item/3c01cb8c3c5bccab0f244491.html Driver:# Include is to find the source file under the linux-2.6.29/include/Linux.# Include is to find the source file under the

Multi-thread learning in Linux _ print thread ID and process ID

Address: http://hi.baidu.com/neu_stroller/blog/item/4213d8c52ddf0aa18226accb.html     Routine 8Purpose: To print the thread ID and process ID in the newly created threadProgram name: pthread_id.c # Include # Include # Include /* getpid ()*/ Void *

LINUX multi-thread function analysis

 LINUX multi-thread function analysisLINUX multi-threaded functions use the following threePthread_create (), pthread_exit (), pthread_join (); they are all in the header file . Static library-lpthread must be added during compilation   The

Select in network programming in Linux

Select in network programming in Linux # Include # Include Int select (INT maxfdp1, fd_set * readset, fd_set * writeset, Fd_set * effectset, const struct timeval * timeout ); Return> 0: Number of ready descriptive words -1: Error 0: timeout Struct

Programming in Linux-IP address acquisition and setting

// Obtain the local IP address Function Qstring getlocalip () { int sock_get_ip; char ipaddr [50]; struct sockaddr_in * sin; struct ifreq ifr_ip; If (sock_get_ip = socket (af_inet, sock_stream, 0) =-1) { printf ("socket create failse...

How to modify network parameters such as IP address, netmask, and gateway in Linux

In Linux, modify the IP address, DNS, and route command line to set the IP address in the Ubuntu command line.CAT/etc/Network/interfaces # This file describes the network interfaces available on your system # And how to activate them. For more

Details about the crontab command of the task scheduler in Linux

Name: crontab  Permission: All Users  Usage:  Crontab [-u user] FileCrontab [-u user] {-L |-r |-e}  Note:Crontab is used to allow users to execute programs at a fixed time or interval. In other words, it is similar to the user's time table. -U user

Linux running-level init

Author: Chinese What are the steps required to start Linux? This article describes in detail the roles of different running levels in startup. Linux seems to be a monster for advanced users on the DOS/Win9x/NT platform. No Config. sys, without

The case of a select call in Linux

The select function is easy to use, and its working principle is also known to everyone. However, it may not be strictly observed in actual use, and it is indeed difficult to fully comply with it unless it is not used. Select uses a bit table.

Getting started with Linux 7: File Viewing/editing

Because there are too many Linux commands, this involves only common ones.   Chapter 4 Introduction to File Viewing/editing1. Cat commandCreate cat> hello.txtChenweitangCTRL + dView a single cat hello.txtView multiple cat hello.txt ge.txtShow cat

Install and configure tomcat in Linux

  Install and configure tomcat in Linux 1. download and install the corresponding JDK and configure the Java environment. Official Website: Http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html Download and compress

In Linux, check whether the full or half duplex Nic is used and set the NIC to half duplex

How can I check whether the network card works in full or half duplex mode in Linux?MII-Tool Linux :~ # MiI-ToolEth0: no linkEth1: No autonegotiation, 100basetx-hd, link OKLinux :~ #   Linux :~ # MiI-tool-FMII-tool: option requires an argument --

Research on MTD layer in Linux (nandflash)

It took some time to learn about the Linux MTD layer. The following is a brief summary! The following figure shows the MTD layer structure. The MTD layer implements a bridge between the file system and flash. The following describes the

Install and uninstall JDK on Linux

Install 1. Go to the http://java.sun.com/j2se/1.4.2/download.html to download a Linux platform JDK, it is recommended to download RPM self-extract format (rpm in self-extracting file, j2sdk-1_4_2_06-linux-i586-rpm.bin );2. Upload the file to a Linux

Total Pages: 5467 1 .... 3869 3870 3871 3872 3873 .... 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.