|
|
今日学习任务
| 掌握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”来