Linux basic command

yum grouplist

vim 中用大写的“V”可复制多行,用”y“复制,用“p”粘贴

tar -zxvf samba-3.0.7.tar.gz

chkconfig --list

rpm -ivh flash-plugin-10.1.102.65-release.i386.rpm

rpm -ivh xxx.rpm --nodeps --force 

tar   -jxvf   linux-2.6.20.tar.bz2 

chmod -x executive

set           显示当前shell的变量,包括当前用户的变量
env          显示当前用户的变量
export     显示当前导出成用户变量的shell变量

nautilus --browser 打开文件浏览器

ifconfig eth0 up 启用网卡

netstat -utln 显示监听端口

kudzu --probe --class=network

mv oldfilename newfilename 重命名文件

rm -f /var/run/yum.pid 强制结束yum进程

modinfo

modprobe

lsmod

file filename 查看文件类型

find / -name mrtg 在根目录查找名为mrtg的文件夹或文件

The \ characters at the end of the lines mean that all the following material should actually be written on a single line.

snmpwalk -v 1 127.0.0.1 -c public 查看snmp信息
 

top 查看进程

本文出自 “Idea Man” 博客,谢绝转载!

你可能感兴趣的:(linux,职场,tar,休闲)