dpaste

Want to know dpaste? we have a huge selection of dpaste information on alibabacloud.com

Use of Linux development tools

1. Use of Linux development tools Use of VIM compilation Use of GDB Debugging tools The writing of Makefile Linux Trace debugging Use of SSH Use of subversion 1. Use of the Linux development tool using VIM compilationThe practical technology of VIM in IBMHttp://www.ibm.com/developerworks/cn/linux/l-tip-vim1/index.htmlHttp://www.ibm.com/developerworks/cn/linux/l-tip-vim2/index.htmlHttp://www.ibm.com/developerworks/cn/linux/l-tip-vim3/index.htmlL

VI and VIM's madness

) Replace:Single replacement, RMultiple substitutions, R (knowing ESC ends)5. VI Command mode:Save:: WExit:: QForced exit:!Save and exit if the file is changed, or do not exit: ZZSave As:: n1,n2 w filename. Where N1, N2 are the start and end lines respectively, and filename is saved as a file.6. Vim's swap file processing:Read-only, ORecovery, REdit, EExit, QAbort, ANote that the final swap file needs to be manually deleted.7. Vim's block selection:Rectangle, Ctrl + VLine, VCharacter, VCopy, YDe

Linux shell handles text most commonly used tools for large inventory

: printable character How to use: TR [: Class:] [: Class:]Eg:tr ' [: Lower:] ' [: Upper:] 'cut split text by columnIntercept the 2nd and 4th columns of the file:cut-f2,4 filenameGo to all columns except column 3rd of the file:CUT-F3--complement filename-D Specify delimiter:Cat-f2-d ";" FileNameRange of cut and takeN-nth field to end-M 1th field mn-m N to M FieldsCut-to-take units-B in bytes-C in Characters-f in fields (using delimiters)//Print a first to 5th character //Print the first 2 cha

Linux Simple to use

read-only permissions are granted: chmod 644 Readme3.Vim Simple to useView FileA files: Vim FileAEdit FileA file: Vim FileA---> Insert key---> Move cursor to edit---> Edit End Press ESC to end editSave and exit Edit Filea:shift key +;---> Wq---> EnterDiscard previous changes and exit: SHIFT +;--->!q---> EnterFree copy: v---> Move the mouse to select what needs to be copied (starting at the cursor start position)---> yCopy one line: yyCopy all: GG---> v---> Shift key +g---> yFree Cut: v---> Move

Introduction to VIM (ACM version)

Sometimes tools are too powerful, but getting started is difficult.Vim Command DaquanThis is the existence of VIM .In order to exercise the ability of the naked eye to debug and write the correct code, I decided to write code with a text editor.Because the main problem is to write ACM at this stage, it does not use special advanced features.1. Configuration打开配置文件 vim ~/.vimrcset nocompatibleset backspace=indent,eol,startset cursorlinesetonset tabstop=4set shiftwidth=4colo eveningset mouse=aset c

Linux Shell Text Processing tool Highlights

classes: Alnum: Letters and Numbers Alpha: lettersDigit: DigitalSpace: white space charactersLower: lowercaseUpper: UppercaseCntrl: Controlling (non-printable) charactersPrint: Printable charactersHow to use: TR [: Class:] [: Class:] Eg:tr ' [: Lower:] ' [: Upper:] ' Cut split text by column Intercept the 2nd and 4th columns of the file: cut-f2,4 filename Go to all columns except column 3rd of the file: CUT-F3--complement filename -D Specify delimiter: Cat-f2-d ";" Fil

Linux Shell Text Processing tool Highlights

File2ColinBookPaste File1 file21 colin2 BookThe default delimiter is a tab character, which can be specified with-DPaste File1 file2-d ","1,colin2,bookTools for WC statistics lines and charactersWc-l File//Count rowsWc-w File//Count of wordsWc-c File//Count charactersSed Text Replacement tool First place replacement Seg ' s/text/replace_text/' file//replace the first matching text of each line Global substitution Seg ' s/t

The command Encyclopedia of the Linux shell handling text

| Tr-s "Character classVarious character classes are available in TR:Alnum: Letters and NumbersAlpha: LettersDigit: DigitalSpace: white space charactersLower: lowercaseUpper: UppercaseCntrl: Controlling (non-printable) charactersPrint: Printable charactersHow to use: TR [: Class:] [: Class:]Eg:tr ' [: Lower:] ' [: Upper:] 'Cut split text by columnIntercept the 2nd and 4th columns of the file:cut-f2,4 filenameGo to all columns except column 3rd of the file:CUT-F3--complement filename-D Specify d

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.