1. 使用ping测试连通性: ping –c 3 stationxx 2. 使用lftp连接到远程计算机 cd
lftp stationxx
cd pub ls
get getme
exit
3. 检查并修改得到的软件 cat getme
pico getme 存为 getme.xy
cat getme.xy
4. 使用lftp把文件传到用户目录 lftp –u student stationxx put getme.xy exit
实验2: 加密通讯 ssh套件 1. 复制getme.xy。 cd
cp getme.bd getme.bd.secure
2. scp getme.bd.secure student@stationxx 3. ssh student@stationxx
实验3: 和远程计算机同步文件 1. cd
rsync – – rsh=ssh student@stationxx:get* . ls getme*
UNIT 17 Lab 系统工具
实验1:at
1. 使用以下命令在5分钟后执行任务 at now + 5 min 2. 输入以下命令
echo ― This message was automtically sent via the at facility.‖ 3. 使用ctrl-d 结束命令输入。at将显示任务执行的时间
4. 确认任务已经排序
5. 检查邮件。确认工作完成了
实验2 使用rpm检查包和文件的情况 1. 使用rpm列出安装的包 rpm –qa | less
2. 检查安装了多少个包 rpm –qa | wc –l
3. 检查哪个包提供了vimtutor文件 rpm –qf `which vimtutor`
4. 列出coreutils 提供的文件和相关信息 rpm –qil coreutils
++++++++++++KevinZou++++++++++++++ Keep Everything Simple , Palpable kissingwolf
++++++++++++++++++++++++++++++++ 在培训版发贴前请先在置顶的贴子里找找! 拒绝回答愚蠢的问题!愚蠢的问题表现为: 不告知发行版及版本类型
不告知尝试操作和相关环境配置 不告知问题解决目的
相关推荐: