In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you what document editing commands are available in Linux, which are concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
Linux col command
The Linux col command filters control characters.
In many UNIX documentation, there are RLF control characters. When we use the shell special characters ">" and "> >" to output the contents of the description file into a plain text file, the control characters will become garbled, and the col instruction can effectively filter out these control characters.
Linux colrm command
The Linux colrm command is used to filter out specified rows.
The colrm instruction reads the clerk from the standard input device and outputs it to the standard output device. If no parameters are added, the directive does not filter any line.
Linux comm command
The Linux comm command is used to compare two sequenced files.
This directive compares the differences between the two sorted files in a column and displays the results. If no parameters are specified, the results are divided into three lines: the first line is only the column that appeared in the first file, the second line is the column that appeared only in the second file, and the third line is the column that appeared in both the first and second files. If the file name given is "-", the comm instruction reads the data from the standard input device.
Linux csplit command
The Linux csplit command is used to split files.
After the files are cut according to the specified template style, they are saved as xx00,xx01,xx02... Donovan's file. If the file name given is "-", the csplit instruction reads the data from the standard input device.
Linux ed command
The Linux ed command is a text editor for text editing.
Ed is the simplest text editor in Linux, which can only edit one line at a time instead of full-screen operation.
The ed command is not a commonly used command, and the vi instruction is commonly used. But the ed text editor is useful for editing large files or for text editing in shell scripting programs.
Linux egrep command
The Linux egrep command is used to find the specified string within the file.
The execution effect of egrep is similar to that of "grep-E". The syntax and parameters used can be referred to the grep instruction, which differs from grep in the way it interprets strings.
Egrep is interpreted by extended regular expression grammar, while grep is interpreted by basic regular expression grammar. Extended regular expression is more standardized than basic regular expression.
Linux ex command
The Linux ex command is used to launch the vim text editor in Ex mode.
Ex executes like vi-E, using syntax and parameters can refer to vi instructions. If you want to return from Ex mode to normal mode, enter ": vi" or ": visual" instruction in vim.
Linux fgrep command
This instruction is equivalent to executing the grep instruction plus the parameter "- F".
The Linux fgrep command is used to find strings that match the criteria in the file.
Linux fmt command
The Linux fmt command is used to orchestrate text files.
The fmt instruction reads the contents from the specified file, rearranges it in the specified format, and outputs it to the standard output device. If the specified file name is "-", the fmt instruction reads data from the standard input device.
Linux fold command
The Linux fold command is used to limit the width of file columns.
The fold instruction reads the contents from the specified file, adds additional characters to the columns that exceed the column width, and outputs them to the standard output device. If no file name is specified, or if the file name given is "-", the fold instruction reads the data from the standard input device.
Linux grep command
The Linux grep command is used to find strings that match the criteria in the file.
The grep directive is used to find files that contain the specified template style. If the contents of a file are found to match the specified template style, the default grep directive will display the column containing the template style. If no file name is specified, or if the file name given is "-", the grep instruction reads the data from the standard input device.
Linux ispell command
The Linux ispell command is used for the spell checker.
The ispell preset uses the / usr/lib/ispell/english.hash dictionary file to check the text file. If you find words that are not in the dictionary in the checked files, ispell will suggest words to use, or ask you to add new words to your personal dictionary.
Linux jed command
The Linux jed command is used to edit text files.
Jed is a program written in Slang, which is suitable for editing the original code of the program.
Linux joe command
The Linux joe command is used to edit text files.
Joe is a powerful full-screen text editor. The complexity of the operation is a little higher than that of Pico, but it is more functional. Joe can open multiple files at a time, each in an editing area, and can perform cut-and-paste actions between files.
Linux join command
The Linux join command is used to concatenate lines in two files that specify the same field content.
Find the lines in the two files that specify the same field content, merge them, and then output them to the standard output device.
Linux look command
The Linux look command is used to query words.
The look instruction is used to query English words. You only need to give it the initial string it wants to query, and it will display all the words in the opening string that meet that condition.
Linux mtype command
Mtype is a mtools tool instruction, which simulates the type instruction of MS-DOS and displays the contents of the MS-DOS file.
Linux pico command
The Linux pico command is used to edit text files.
Pico is an easy-to-use, display-oriented text editor that comes with pine, a program for dealing with e-mail and newsgroups.
Linux rgrep command
The Linux rgrep command is used to recursively find strings that match the criteria in the file.
The function of the rgrep directive is similar to that of the grep directive. It can find files containing the specified template style. If the contents of a file are found to match the specified template style, the default rgrep directive will display the column containing the template style.
Linux sed command
The Linux sed command uses script to process text files.
Sed can process and edit text files according to the instructions of script.
Sed is mainly used to automatically edit one or more files, simplify the repeated operation of files, write conversion programs, and so on.
Linux sort command
The Linux sort command is used to sort the contents of a text file.
Sort can be sorted by behavior unit for the contents of the text file.
Linux spell command
The Linux spell command establishes a spell checker.
Spell can read strings from standard input devices and display misspelled words at the end.
Linux tr command
The Linux tr command is used to convert or delete characters from a file.
The tr instruction reads data from the standard input device, translates the string, and outputs the result to the standard output device.
Linux expr command
The expr command is a manual command-line counter that is used to find the value of an expression variable under UNIX/LINUX, generally for integer values or for strings.
Linux uniq command
The Linux uniq command is used to check and delete repeated rows in a text file.
Uniq checks for recurring rows in a text file.
Linux wc command
The Linux wc command is used to count the word count.
Using the wc instruction, we can calculate the number of Byte, words, or columns of a file. If the file name is not specified, or if the file name is given as "-", the wc instruction will read data from the standard input device.
Linux let command
Command: let
The let command is a tool for evaluation in BASH that executes one or more expressions and does not require $to represent variables. If the expression contains spaces or other special characters, it must be quoted.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
What are the document editing commands in Linux? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.