Features of vim
❖
Runs on very low memory.
❖
It supports very many files and encodings.
❖
It is compatible across all Unix systems
❖
Grep command - The command is one of the frequently used commands due to its high
speed in most Unix based systems. With other programs, a grey command can be used with
other programs to read inputs in various. In a file or a standard output, grep can be used to
find strings or matched regular extensions.
❖
Sort command - As its name suggests, it used in sorting a file alphanumerically as it will
arrange the lines following a specific order. The command arranges files in ASCII by default.
Ways in which sort command sorts lines
1. Sort command arrange lines one at a time
2. The sort command program prints all lines of inputs in an argument ordered list
3. The sort command supports sorting of lines in alphabetically, by the use of reverse
order, numerically or even by word of mouth.
4. The command can also ignore case sensitive and return on if the line is sorted or not
5. The entire input key is assumed to be a sort key by default, and the blank space is
taken by the field separator
Features of a sort command
❖
The lines that are starting with numbers will come before lines that start with alphabets
❖
Lines whose first letter appears first on the alphabet list are placed before lines whose first
letter comes later in the alphabet list.
❖
Lines beginning with a letter that appears earlier in the alphabet will come before lines
starting with a letter that appears later on the alphabet
❖
Lines that begin with an uppercase letter will be placed before lines starting with a
lowercase letter of the same word
Example:
Suppose you are creating a file with the name file.txt
$ cat > file.txt
Emailing
Client
command
variable