Install JDK in Linux

Install JDK Linux Step 1. First download JDK (jdk-1_5_0_02-linux-i586.rpm) from the Internet, recommended sun official website www.sun.com, download and put in the/home directory, of course, other places also. Go to the installation directory #

Linux too program openfiles

By default, the number of files opened by the inux user is 1024. You need to manually modify the number of files opened by the user. # Ulimit-n The obtained value is the maximum number of files that the current user can open (including socket

Linux Kernel configuration Library Routines

This library is only required by a third-party kernel module that is not included in the original kernel code. It can be left unselected. If other parts of the kernel depend on it, it will be automatically selected.   CRC-CCITT functions ----->

Linux exec () function

YesExec system callIn fact, in Linux, there is no exec () function form. Exec refers to a group of functions. There are 6 Functions in total: # Include Extern char ** environ; Int execl (const char * path, const char * Arg ,...); Int execlp (const

Video sharing on Linux kernel and driver and ARM architecture Learning

ARM architecture and programming of video clips from Youku Programming Language, understanding the Android system architecture, understanding the Linux kernel, drivers, and ARM architecture; with experience in Android development on the Qualcomm

Container_of in Linux Kernel

Container_of in Linux Kernel # Define container_of (PTR, type, member) ({\ const typeof (type *) 0)-> member) * _ mptr = (PTR ); \ (type *) (char *) _ mptr-offsetof (type, member ));}) Among them, typeof (X) is an extension of GCC to C, which

Linux FTP settings

1. run the command rpm-Qa | grep vsftpd to check whether the vsftpd version is installed. if the version is already installed, the vsftpd version is displayed. if the version is not displayed, the vsftpd version is not installed. if FTP is not

Common binary file analysis methods in Linux

1. First, try the strings command. For example, to get a binary file named CR1, you can: $ Strings CR1 | more There may be some descriptions of this CR1.Are some textual descriptions left in the program after compilation, so it may tell you what

Linux script writing BASICS (1)

1.1 Basic syntax Introduction Start with 1.1.1 The program must start with the following line (must begin with the first line of the file ): #! /Bin/sh Symbol #! The parameter used to tell the system that the program is used to execute the file.

Linux script writing BASICS (3)

3) Process Control 1. If If the expression "if" is true, the part after then is executed: If...; then .... Elif...; then .... Else .... Fi In most cases, you can use test commands to test the conditions. For example, you can compare strings,

Linux root password retrieval

Sunirvana label: Linux System Management Forget Root Password Press the Space key to enter the editing status, press the e key to edit, select the second line, press the e key to edit, press the Space key to enter 1 (to enter the single user mode),

Install and update Svn in Linux

Centos 5.5 configures an independent subversion 1.6.12 (SVN) server subversion (SVN), a version management tool that has emerged in recent years and is the successor of CVS. The SVN server can run in two ways: 1. Independent Server2. Use

Set up the Subversion service in Linux

I. Prepare the toolApache Web Server: httpd-2.2.4.tar.bz2Subversion source package and dependency package: subversion-1.4.3.tar.bz2, subversion-deps-1.4.3.tar.bz2(Assume that Apache and SVN source code are decompressed to/home/tmp) Ii. install

Log writing code compatible with Windows and Linux

The following code can be correctly compiled and executed on Windows and Linux. Logs are stored by QQ number and date, which prevents the logs of different QQ numbers from being mixed together and the logs become larger over time. 1 # include 2 #

SVN upgrade in Linux

SVN upgrade in Linux Step 1: Download the installation package (two)wget http://subversion.tigris.org/downloads/subversion-deps-1.6.2.tar.gz wget http://subversion.tigris.org/downloads/subversion-1.6.2.tar.gzStep 2: Install and copy the

LINUX multi-thread programming-sleep and pthread_cond_timedwait

# Include # Include Int flag = 1;Void * thr_fn (void * Arg ){While (FLAG ){Printf ("******* \ n ");Sleep (10 );}Printf ("sleepTestThread exit \ n ");} Int main (){Pthread_t thread;If (0! = Pthread_create (& Thread, null, thr_fn, null )){Printf

Linux imgfile compression and decompression

In kernel 2.6, initrd. IMG adopts cpio compression. It is no longer in the ext2 format used by kernel 2.4 and cannot be mounted using Mount-o loop. You need to use gunzip to decompress the package, and then use cpio to decompress the package.

Linux USB mouse

4.2.1 usb_endpoint_is_int_in Determine whether the endpoint is of the interrupt in Type Static inline int usb_endpoint_is_int_in (const struct usb_endpoint_descriptor * EPD) { Return (usb_endpoint_xfer_int (EPD) & usb_endpoint_dir_in (EPD

Static Library & dynamic library-static and dynamic libraries in Linux

For makefile for implementing the dynamic library link, see Programming>. The notes are as follows: We know that almost all programs are linked to one or more databases at runtime. For example, the C-language printf function uses the c Standard

View the current user commands in Linux

I, W command This command is used to display the users logged on to the system. W command is powerful. It not only shows who logged on to the system, but also shows the current work of these users, the statistical data is more detailed and

Total Pages: 5467 1 .... 4314 4315 4316 4317 4318 .... 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.