Check the number of characters in Linux

1. view the kernel version: 1) [root @ Linux download] # Cat/proc/versionLinux version 2.6.18-194. EL5 (mockbuild@builder16.centos.org) (GCC version 4.1.2 20080704 (Red Hat 4.1.2-48) #1 SMP Fri APR 2 14:58:35 EDT 2010 2) [root @ Linux download] #

Linux primary partitions, extended partitions, and logical partitions

I remember that when I first started installing the Linux operating system, I had some knowledge about Linux disk partitioning, but it was always time-consuming and I forgot about it for a while, I vaguely remember that I once knew this was the case.

Linux wifi configuration

Wi-Fi-fiwirelessfidelity, similar to Bluetooth, is a short-distance wireless technology used in offices and homes. Use of this technology GHz frequency band, which is currently not licensed as a wireless frequency band. Currently, two standards are

Try UML (user mode Linux)

Try UML (user mode Linux)   Please indicate the source when reprint: http://blog.csdn.net/absurd/   Here, UML does not refer to the unified modeling language, but to Linux in the user mode. As the name implies, a Linux system runs as a user

Linux SCRIPT>/dev/null 2> & 1, and 2> 1 vs 2> & 1

1. The standard input stdin file descriptor is 0, the standard output stdout file descriptor is 1, and the standard error stderr file descriptor is 2 2./dev/null empty device, equivalent to a waste bin 3. Redirection symbols:> 3. 2> 1 and 2> & 12> 1.

Common Linux commands: view system information

1. view the number of operating system digits File/sbin/init Display /Sbin/init: Elf 32-bit LSB shared object, Intel 80386, Version 1 (sysv), dynamically linked (uses SHARED libs), for GNU/Linux 2.6.15, stripped There is another way: Getconf

A simple Linux thread pool code

When implementing web server, you can create a thread pool to concurrently process HTTP requests from the client. The Code is as follows:   For (I = 0; I { pthread_create (& thread_pool [I], null, (void *) & worker, (void *) I); pthread_detach

Linux: Command Execution Control & |

1 ,&& Mode: command1 & command2 If command1 is successfully executed, execute command2 -RW-r -- 1 Kevin 0 September 11 00:55 1.log [kevin@kevin test]$ ll Total usage 4 -RW-r -- 1 Kevin 0 September 11 00:55 1.log [kevin@kevin test]$ mv 1.log tmp.log &

Linux: Use () to execute a group of commands

Execute a group of commands in the sub-shell. Method: (command1; command2; command3) If no () exists, it is executed in the current shell. [kevin@kevin ~]$ ll Total usage 8 Drwxrwxr-x 2 Kevin 4096 September 11 01:07 Test [kevin@kevin ~]$ pwd;cd test;

Handle SVN submission failures in Linux and set random startup of some services

1. In Linux, when submitting with SVN, the system will prompt you to modify the configuration of svn_editor... because it cannot identify errors modified by other editors...   To: Add set svn_editor = 'which Vim 'or set svn_editor = 'vim' At the

Linux-related operations

1. SCP Http://www.cnblogs.com/xuxm2007/archive/2010/08/04/1792179.html SCP is short for secure copy. SCP is a secure remote file copy command based on SSH login in Linux. The SCP command of Linux can copy files and directories between Linux servers.

Install it in redhat9 Linux and configure subversion 1.3.1

Install it in redhat9 Linux and configure subversion 1.3.1 (revision) By: Wu Yin Date: 2006-06-30 Email: Lazy_fox # msn.com Copyright information: This article is copyrighted by Wu Yin. It can be

Linux device model (1)

As computer peripherals become more and more abundant, device management has become an important task of modern operating systems, which is the same for Linux. Each time a new version of the Linux kernel is released, a number of device drivers will

Detailed description of Linux fork () function instances

Fork function learning: # Include # Include # Include # Include Main () { Pid_t PID; pid = fork (); If (PID Printf ("error in fork! "); Else if (pid = 0) Printf ("I am the child process, my process ID is % DN", getpid ()); Else Printf ("I am the

Sporadic Summary of Linux at&t ASM

Author: sodimethyl Source: http://blog.csdn.net/sodme Disclaimer: This article may be reproduced, reproduced, or disseminated without the consent of the author. However, any reference to this article must retain the author, source, and statement

View the Linux network traffic Applet: netiostat

#! /Usr/bin/python # Coding = UTF-8 # file: netiostat # Author: flynetcn from _ future _ import Division Import sys Import OS Import time Import signal netcmd = '/sbin/ifconfig eth0 | grep bytes' def getnetio (line): S1 = line. find ('rx

Linux User Management

The main task of user management is to create a legal user account, set and manage user passwords, modify user account attributes, and delete obsolete user accounts when necessary. 1. Add a new userIn Linux, only the root user can create a new user.

Install WebSphere and publish applications in Linux

How to install WebSphere and Applications in Linux (858) ======== Install JDK, IBMJava118-SDK-1.1.8-4.0.i386.rpm ========Suppose you want to download RPM to/root/RPMS and input the following command from the command

A Method for debugging programs in Embedded Linux

This article is a small post, which can be ignored by experts. If you have a program, a board, a file system, a computer, and a serial line, but you don't know how to start it, let the board run your program, then you should read this article

Linux Kernel File Operations

With the support of VFS, user-State processes can use read and write to read and write file systems of any type, but how can we operate files without such a system calling in the Linux kernel? We know that when read and write are in the kernel state,

Total Pages: 5467 1 .... 5454 5455 5456 5457 5458 .... 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.