方案的目的:备份最重要的Linux档案系统基本设定资讯网络服务的内容资料1.系统基本设定资讯/etc 整个目录 其中 /etc/passwd /etc/show /etc/group /etc/gshadow账号档案/home 整个目录其中 /home/root账号的家目录 /home/cici/v...
分类:
系统相关 时间:
2015-01-22 06:56:40
阅读次数:
157
-y 如果yum在工作过程中需要使用者响应.这个参数可以直接回答yes#yum list 列出资源库中所有可安装或者可更新的rpm包#yum perl 列出为perl的包#yum perl* 列出为perl开头的包#yum install perl 安装perl包#yum remove perl.....
分类:
系统相关 时间:
2015-01-22 06:55:40
阅读次数:
217
软件包管理用rpm命令来管理rpm 软件包1>遵循GPL 规则2>安装 foo-2.0-1.i386.rpm软件包#rpm -ivh foo-1.0-1.i386.rpm3>已经安装 foo-1.0-1.i386.rpm仍然像安装#rpm-ivh --replacefiles foo-1.0-l.i...
分类:
系统相关 时间:
2015-01-22 06:55:26
阅读次数:
150
查看端口#lsof -i :端口号|\根据端口号查看进程信息例如:#lsof -i:8080command pid user fd type device size nodejava 15419 root 29u ipv6 8277 tcpname*:webcache 根据进程号查看进程对应可执行程...
分类:
系统相关 时间:
2015-01-22 06:55:02
阅读次数:
202
server with sites set up for download files sometimes provide ananonymous ftp account数据传输ftp 192.168.0.128name: usernamepassword:user's passwordcomman...
分类:
系统相关 时间:
2015-01-22 01:42:20
阅读次数:
225
#who 或者 #w 展示所有登录到当前系统的用户信息#who am i 展示真是用户信息#whoami 展示登陆系统的用户名例如 :登陆用户和真实用户一致#whoamiroot#who am iroot pts/3 oct 23 12:17 (:0.0)登陆用户和真实用户不一致#whoamicic...
分类:
系统相关 时间:
2015-01-22 01:41:20
阅读次数:
209
#wc 文件名.txt输出 4 13 65 文件名.txt -->4 行13个单词#wc -w 文件名.txt 统计单词数量#wc -l 文件名.txt 统计行数#wc -c 文件名.txt 显示文件byte数grep wang /etc/passwd |wc -d
分类:
系统相关 时间:
2015-01-22 01:41:09
阅读次数:
185
ftpserver with sites et up for downloaing filessometimes provides an anonymous ftp account数据传输ftp 192.168.0.128name:(username)password:(user's passwor...
分类:
系统相关 时间:
2015-01-22 01:37:09
阅读次数:
185
cd + 回车 = cd ~ 进入当前用户主目录查看指定进程信息*ps -ef |grep 进程名*ps -查看属于自己的进程*ps -aux 查看所有的用户的执行进程换成 ps -aux |less -MN 可以逐条查看进程ctil +f 向前移动一平幕ctrl+b 向后移动一平幕*ps -el ...
分类:
系统相关 时间:
2015-01-22 00:09:10
阅读次数:
149
#tail -f -n 100 catalina.out含义:从文件尾部监视catalina.out文件 主要看尾部100行#tail -f -n 100 catalina.out > nohup.out& ------------也可以指定输出文件的路径 &进入后台 ...
分类:
系统相关 时间:
2015-01-22 00:06:33
阅读次数:
284