学习日志 姓名:王鹏 日期:2018.9.21

 

 

 

 

 

 

今日学习任务

 

掌握5个文件处理命令

日任务完成情况

 

(详细说明本日任务是否按计划完成,开发的代码量)

学习了file、mkdir、grep、dd、find

日开发中出现的问题汇总

 

有很多命令不能正确执行,应该是由于创建的test文件没有内容。

 

日未解决问题

 

目前还不知道如何给test文件添加内容。

日开发收获

熟练掌握了useradd,userdel,passwd,su的用法,简单运用了5个文件处理命令。

 

自我评

 

(是否按开发规范完成既定任务,需要改进的地方,与他人合作效果等)

 

 

目前VM环境的运用还处于初步学习阶段,以后还需要多加学习。

其他

 

[root@jsetc ~]# useradd test1
useradd:用户 test1 已存在
[root@jsetc ~]# useradd test2
useradd:用户 test2 已存在
[root@jsetc ~]# useradd test3
useradd:用户 test3 已存在
[root@jsetc ~]# passwd test3
Changing password for user test3.
New UNIX password: 
BAD PASSWORD: it is too short
Retype new UNIX password: 
passwd: all authentication tokens updated successfully.
[root@jsetc ~]# file test1
test1: ERROR: cannot open `test1' (No such file or directory)
[root@jsetc ~]# ls
anaconda-ks.cfg  Desktop  install.log  install.log.syslog
[root@jsetc ~]# cd ..
[root@jsetc /]# file test3
test3: directory
[root@jsetc /]# file test1 -v
file-4.17
magic file from /usr/share/file/magic
[root@jsetc /]# file test1 -z
test1: ERROR: cannot open `test1' (No such file or directory)
[root@jsetc /]# file test1 -L
test1: ERROR: cannot open `test1' (No such file or directory)
[root@jsetc /]# file test1 -fname
file: Cannot open `name' (No such file or directory).
[root@jsetc /]# mldir test1 -m
bash: mldir: command not found
[root@jsetc /]# mkdir
mkdir: 缺少操作数
请尝试执行“mkdir --help”来

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值