Linux VI command

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:

Ubuntu under Install Minitools+minitools Burn write Linux to Development Board

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

Linux self-booting

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

Ctags---A Linux command every day

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

Advanced programming for Linux environments--Introduction

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

HTTP Server demo under Linux environment

#include #include #include #include #include #define BUF_LEN 1028//1028 ever#define PORT 8000const static char html_re_hd_su[] = "http/1.1 OK \r\ncontent-type:text/html\r\n\r\n "; HTML Response header:successint creattcpsocket_fd () {int socket_

Linux Regular use

1.RM (LS): Quickly delete some consecutive files (LS and RM, here is the list)[[email protected] test]# LS1 2 3 4[[email protected] test]# RM-RF 12[[email protected] test] # LS1 2 3 4[[email protected] test]# touch 12[[email protected] test]#

Common commands for Linux

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

Automatic timing detection of hard disk space and deletion of old file scripts under embedded Linux

#! /bin/shwhile true;doi= ' df-h | Egrep '/mnt/yourpath ' | awk ' {print $} ' | cut-d "%"-f1-' if ["$i"-ge]thenecho "disk nearly full" Cd/mnt/yourpath for file1day in ' ls-d */| Sort-n | Cut-d "/"-f1-' dodone#for filedel in ' ls-d * * | Sort-n | Cut-

NFS Configuration and TFTP configuration under Linux

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.

Linux PS aux results explained

# PS aux | MoreUSER PID%cpu%MEM VSZ RSS TTY STAT START time COMMANDAimin 13362 99.1 13.6 12942520 12641232? R 13:12 445:48/usr/local/lib64/r/bin/exec/rAimin 23413 0.0 0.0 100344 1784? R 20:02 0:00 sshd: [Email PROTECTED]/3Aimin 24489 1.0 0.0 110244 1

Linux off Firewall

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

Batch creation of files or directories in Linux

[[email protected] auto_ops]$ touch  ' seq 10 ' [[ email protected] auto_ops]$ ls1  10  2  3  4   5  6  7  8  9[[email protected] auto_ops]$ mkdir  $ (Echo {a. F}) [[email protected] auto_ops]$ ls1  10  2  3  4   5  6  7  8  9  a  b  c  

LINUX:TCP and UDP are different

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 Function

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 2

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 CentOS

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

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

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

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

Total Pages: 5467 1 .... 4645 4646 4647 4648 4649 .... 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.