Using VI under Linux

Learn to use the Linux private dishes VI of Brother BirdThe VI compiler is preinstalled on Linux, which makes it easy to view and edit documents. Learning VI Learning the basics of Vim, VI has a lot of commands, need to practice memory use

Installing JDK under Linux

1. Remove the Linux self-brought JDK (just to keep the system clean, or not to delete)The complete identity system has been deleted.2. Download the JDK and select the appropriate JDK version as neededWebsite address:

How to exclude a specified login user from Linux

Recently, there is a business scenario needs, you have to put some of the user on the server to kick off, oh, nonsense not to say, methods have two1. First Use W(or who) to see who landed on the server:2. Below, we need to kick off the Caesar user

Linux LVM detailed

"LVM" What is LVM? LVM (Logical Volume Manager) Logical volume management, is a partition of one or more hard disks in a logical collection, equivalent to a large hard disk to use, when the hard disk space is not enough to use, you can

Permissions for the Linux file directory

The importance of permissions to a file: (mainly for the contents of the file, no relation to the filename)R: The actual contents of this file can be read.W: You can edit, add, or modify the contents of the file (but not delete the file)X: The file

Linux Pmstat Commands

 Mpstat is a real-time system monitoring tool for Linux. Some statistical information about its report and CPU, which is stored in the/proc/stat file. In a multi-CPU system, it not only can view the average status information of all CPUs, but also

Linux Compression and decompression rollup

rar

Compression packet compression method and decompression method for various suffixes Compress package Compression Extract . tar.gz and. tgz TAR-CZF jpg.tar.gz *.jpg TAR-XZVF filename-c Path

Linux Task Scheduler

1. at--to perform a task at some point in the futureUsage examples: at time: Set a point in time At>command At>ctrl+d Specify time: Absolute Time: HH:MM,DD. Mm. Yy,mm/dd/yy relative Time: now+3minutes units: minutes, hours, days, weeks Blur time:

Linux operating system kernel boot parameters detailed parsing

The Linux kernel can receive certain command-line options or boot-time parameters when it is started. You can manually pass these parameters to the kernel in such a way that the kernel does not recognize some hardware and cannot set hardware

Linux Process Management related commands

Process Status View command:Ps:process State-O: Specify display fieldsThere are two styles of process status display:BSD Style: Non-additive when usedSYSV style: When use plus-BSD Style:A: Show all terminal-related processesU: Shows which user

Linux Character device driver architecture

1 Cdev Structural Bodystructcdev{structKobject Kobj;/*Inline Kobject Objects*/    structModule *owner;/*Owning Module*/    structFile_operations *ops;/*file operation structure Body*/    structList_head list; dev_t Dev; /*Device

Linux-Connection-oriented socket communication process

The conversion of the IP of the string to the 32 IP说明 网络上的IP都是数字加点(192.168.0.1)构成struct in_addr结构使用32位的IP,如IP(C0A80001)是192.168.0.1int inet_aton(constcharstruct in_addr *inp)将a.b.c.d的IP转换为32位的IP,存储在 inp指针里面char *inet_ntoa(structin)

Re-build Wheels-linux-socket

#include   #include   #include   #include   #include   #include   #include  # Include  #define  buffer_size 255#define server_port 13579#define  ligen_of_listen_queue 5int main (INTARGS,CHAR**ARGV) {//init socketint  servfd,clifd;struct sockaddr_in 

Linux Remove line break

Today you need to delete the line breaks inside the file, such as a file a.txt:1,2,34,5,61,2,34,5,61,2,34,5,61,2,34,5,61,2,34,5,61. Use Vim to remove newline charactersVim input command:%s/\n//g2. Use SED commands, such as sed ': t; N;s/\n//;b T ' a.

Linux Basic Knowledge Collection

First, the system level of Linux4 applications3 Library2 cores1 hardwareWhen running the program, the application is dispatched to the hardware execution by the kernel;Third, the user interface1 CLI Command PromptShell type: sh,csh,tcsh,bash,ksh,zsh2

Linux Create dynamic libraries

  [1] New source program SHARELIB.C1 /*************************************************************************2 > File name:sharelib.c3 > Author:copener4 > Mail: [email protected]5 > Created time:2015 May 14 Thursday 09:03 18 seconds6 *************

Linux-Threading Attribute control

Thread PropertiesProperty values cannot be set directly and must be manipulated using related functionsThe initialization function is pthread_attr_init, and the function must be called before the Pthread_create functiontypedefstruct{ int

Linux-Thread Communication

Thread Mutex mechanismA mutex variable is like a "lock", which is the primary way for thread synchronization and protection of shared dataMutexes can be used to prevent competitionThe basic concept of mutex in pthreadsAt any time, only one thread

Ubuntuvim Chinese garbled characters

Ubuntuvim Chinese garbled characters Add Chinese character encoding: $ Sudo vim/var/lib/locales/supported. d/local # Add the following Chinese Character Set Zh_CN.GBK GBK Zh_CN.GB2312 GB2312 Zh_CN.GB18030 GB18030 Make it take effect: $ Sudo

Disable and enable ping on Linux servers

Disable and enable ping on Linux servers Modify/proc/sys/net/ipv4/icmp_echo_ignore_all to 1. Disable ping from 0. Sysctl-w net. ipv4.icmp _ echo_ignore_all = 1. Another method is iptables-based ping. Iptables-a input-p icmp -- icmp-type 8-s 0

Total Pages: 5467 1 .... 3193 3194 3195 3196 3197 .... 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.