General mode, edit mode, command mode.General mode: The cursor is up or down. Line end $ beginning ^ and regular expressionShift+g file last line "or command mode input $"1 G: First line of file "or command mode input 1"In fact the best way:
One, Ubuntu installation Minitools1. Locate the minitools-linux-20130513.tgz,mini2440 disc in this folder under the Linux Platform tool2. I'll copy it to my/home/lianghuiyong/linux_share/directory.3. # cd/opt/friendlyarm/mini24404. # tar
How to get Linux system to start the service program as soon as it starts?Place the program startup script in the/etc/rc.d/init.d/directory. such as/etc/rc.d/init.d/under the httpd, this is a script program.CD/ETC/RC.D/INIT.D/./HTTPD startEquivalent
Brief introduction?? Ctags (Generate tag files for source code) is a handy code reading tool under Vim. Although Ctags can also support other editors, it officially supports only vim. And Ctags is already installed by default in Vim, which can help
starting today, it will open advanced Programming for Linux environments (programming of Linux enviroment) Study notes or summary, I will continue to share with you the results of their studies. This blog series relies on Lilin Teacher's course, the
Files and directoriesCd/home Enter '/home ' directory 'Cd.. Return to the top level directoryCd.. /.. Return to the top level two directoryCD into the personal home directoryCD ~user1 into the personal home directoryCD-Return to the last
1. NFS ConfigurationVi/etc/export join the required shared directory. For example:/home/liukang/workship 192.168.1.0/24 (Rw,sync,no_root_squash,no_subtree_check)After the modification is complete, run#exportfs-A makes the change effective.#/etc/init.
Thank you: http://my.oschina.net/u/217959/blog/38051(1) Permanent effect after reboot:Open: Chkconfig iptables onOFF: Chkconfig iptables off(2) Immediate effect, failure after restart:Open: Service iptables startClose: Service iptables stopIt should
Linux Network Programming 4--Personal SummaryTCP and UDP communication flow
The basic steps for TCP communication are as follows:
Server: Socket---BIND---listen---while (1) {---accept---recv---send---close---}------close
Client:
Linux system call, linux System Call FunctionWhat is system call?
The Linux kernel has a set of built-in functions used to implement various system functions, which are called system calls. You can call a system call in an application to implement
Linux network settings (version 2) and linux Version 2Linux network settings-Internet addressing Process
1. Comparison of TCP/IP and OSI Reference Models
TCP/IP
OSI
Physical Layer
Nic
Data Link Layer
*
Commands for compressing bz2 files in CentOSBzip2
Function Description:. bz2 File compression program.Syntax: bzip2 [-cdfhkLstvVz] [-- repetitive-best] [-- repetitive-fast] [-compression grade] [file to be compressed]Note: bzip2 adopts a new
CentOS server Performance Evaluation and Optimization
I. Factors affecting Linux server performance
1. Operating System Level
CPU
Ø memory
Ø disk I/O bandwidth
Ø network I/O bandwidth
2. Application-level
Ii. System Performance Evaluation
How to install software on rpm and yum in CentOS
Centos software installation can be divided into two types:12
[Centos] rpm file installation, using the rpm Command similar to the [ubuntu] deb File Installation, using the dpkg command
[Centos]
CentOSps aux | grep Query Process
Ps aux | grep XXX Query Process
Ps a shows all programs under the current terminal, including those of other users.Ps-A shows all programs.When listing programs in ps c, the real command name of each program is
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