Please enable JavaScript.
Coggle requires JavaScript to display documents.
Managing Files in Linux (Commands (Diff (It is used to compare individual…
Managing Files in Linux
Vim Text Editor
Default text editor in Linux. Widely used in programming and for processing simple text files. Powerful editor that employs simple keystrokes to perform complex editing.
Command Mode
-
-
Motions
Single-key shortcuts used to navigate through files while in command mode. The keys can position the cursor anywhere within a file.
Editing Operators
Can be used in command mode to manipulate text with simple keystrokes. They can be used in combination with motions to alter multiple characters
Counts
Number that multiplies the effect of keystrokes. It is used in combination with motions and editing operators.
Commands
-
Wc
Used to count the number of lines, words, and characters of a text file.
Tr
Used to translate strings from standard input to standard output. Predominantly used to change case of letters.
Uniq
Used to display unique lines from a sorted file after ignoring successive lines. It compares only consecutive lines so the file must be sorted for it to work.
Locate
Performs a quick search for any specified string in filenames and paths stored in the mlocate database.
-
Find
Search for a specific location for files and directories that adhere to some search criteria. It searches the directory structure in a recursive way.
Regular Expressions
Strings of characters that denote a word, set of words, or a sentence. They describe a pattern for searching. Locating, manipulating, and replacing text are the three main uses for regular expressions.
-
Filters
A program that accepts an input or output request, verifies that the data matches with a specified criteria in the request, and then process it.
Text Streams
-
While reading of writing to a text stream the program divides data into lines by reading an new line at the end of each line.
Inodes
-
-
It is an entry to the Inode table that contains information about the device where the Inode resides, the file type, the and the mode of file.
-
-