Linux common tools

1. Common tools under Linux:

1.shell: bash/ksh

2.awk: (nawl/gawk): text, data processing language (processing log data)

Data can come from text files, standard input, and the output of other commands. The way awk handles text and data: read the file line by line, from the first line to the last, look for lines that match a specific pattern, and do what you want on those lines.

If no processing action is performed, the matching line is printed. If no mode is specified, all the specified lines being manipulated are processed, the default mode is all. awk are three authors named Alfred Aho, Brian Kernighan, Peter Weinberger.

Nawk: new awk. Update replacement version.

gawk:gun awk.  dudo update-alternatives -config awk

3. gunplot: drawing tool

4.Latex: Large-scale typesetting system format, Tex macro set, generate high-quality, complex mathematical formulas.

5.Vi / Vim: multi-mode editor, vim is compatible with the vi command set, and has new features.

a.vim multi-level undo: u undoes the last command in vi, and there is no limit to undo the previous operation in vim.

b.vim multi-system support

c.vim text rendering highlight

d.vim visual editing and backward compatibility with vi

 

6.perf

 

7.common commands:

 

ls list

pwd present working directory

cd change directory

rm remove

 

mkdir make directory

rmdir remove directory

ps process status

cp copy

mv move

grep global regular expression print

find find a file on the filesystem

locate find a file on the filesystem from a cached list of files

man displays the mannual for most commands, including itself

clear clear the screen

less view the contents of file

nano Nano's another editor

sudo super user do

su switch user

view start in read-only mode, -R argument will allow you do

 

 

mkfs: make filesystem

mknod: make node

chown: change owner

insmod: install module

lsmod: list modules

rmmod: remove module

env: environment

cat: concatenate

gcc: GNU Compiler Collection

man: manual

ps: processes

pwd: print working directory

ifconfig: interface configuration

sync: synchronize

 

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326301500&siteId=291194637