一、Linux下常用工具:
1.shell: bash/ksh
2.awk:(nawl/gawk):文本、数据处理语言(处理log数据)
数据可以来自文本文件,标准输入,其他命令的输出结果。awk处理文本和数据的方式:逐行读取文件,从第一行到最后一行,寻找匹配的特定模式的行,并在这些行上进行你想要的操作。
如果没有执行处理动作,匹配的行print输出。没有指定模式,所有被操作的所指定的行都被处理,默认模式全部。awk分别是三个作者姓名Alfred Aho, Brian Kernighan, Peter Weinberger。
Nawk: new awk.更新替换版本。
gawk:gun awk. dudo update-alternatives -config awk
3.gunplot:绘图工具
4.Latex:大型排版系统格式,Tex宏集,生成高质量、复杂的数学计算公式。
5.Vi / Vim : 多模式编辑器,vim兼容了vi指令集合,并有新特性。
a.vim多级撤销:vi中u撤销上次命令,vim中无限制撤销之前操作。
b.vim多系统支持
c.vim文字渲染高亮显示
d.vim可视化编辑和向下兼容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