Type : System
Operating System : All Linux
This article present a selection of command line for the adinistration of your linux.
Statistics, Filesystem, Research, compress, replace, network
Editing and reading content
nano :
Nano is a small, free and friendly editor which aims to replace Pico, the default editor included in the non-free Pine package. Rather than just copying Picoâs look and feel, nano also implements some missing (or disabled by default) features in Pico, such as "search and replace" and "go to line number".
Click Here to see nano example.
vim :
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a lot of enhancements above Vi: multi level undo, multi windows and buffers, syntax highlighting, command line editing, file-name completion, on-line help, visual selection, etc.. See ":help vi_diff.txt" for a summary of the differences between Vim and Vi.
Click Here to see vim example.
cat :
Concatenate files and print on the standard output.
Click Here to see cat example.
zcat :
zcat is identical to gunzip -c. (On some systems, zcat may be installed as gzcat to preserve the original link to compress.) zcat uncompresses either a list of files on the command line or its standard input and writes the uncompressed data on standard output. zcat will uncompress files that have the correct magic number whether they have a .gz suffix or not.
Click Here to see zcat example.
less :
Less is a program similar to more (1), but which allows backward movement in the file as well as forward movement. Also, less does not have to read the entire input file before starting, so with large input files it starts up faster than text editors like vi (1).Click Here to see less example.
zless :
Zless is a filter which allows examination of compressed or plain text files one screenful at a time on a soft-copy terminal. It is the equivalent of setting the environment variable LESSOPEN to "|gzip -cdfq %s", and then running less. However, enough people seem to think that having the command zless available is important to be worth providing it.
Click Here to see zless example.
more :
More is a filter for paging through text one screenful at a time. This version is especially primitive. Users should realize that less(1) provides more(1) emulation and extensive enhancements.
Click Here to see more example.
bzmore :
Bzmore is a filter which allows examination of compressed or plain text files one screenful at a time on a soft-copy terminal. bzmore works on files compressed with bzip2 and also on uncompressed files. If a file does not exist, bzmore looks for a file of the same name with the addition of a .bz2 suffix.
Click Here to see bzmore example.
touch :
Update the access and modification times of each FILE to the current time.
Click Here to see touch example.
mkdir :
Create the DIRECTORY(ies), if they do not already exist.
Click Here to see mkdir example.
rmdir :
Remove the DIRECTORY(ies), if they are empty.
Click Here to see rmdir example.
echo :
Echo the STRING(s) to standard output.
Click Here to see echo example.
















































