1 / 6
文档名称:

Linux 期末考试试题(含答案).doc

格式:doc   大小:43KB   页数:6
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Linux 期末考试试题(含答案).doc

上传人:mh900965 2018/3/9 文件大小:43 KB

下载得到文件列表

Linux 期末考试试题(含答案).doc

文档介绍

文档介绍:一、命令部分
,密码设为123456,并将其加到root组。写出所用命令。
# useradd wang
# passwd wang
123456
123456
# groupadd root
# usermod –g root wang
,。写出所用命令。
# ifconfig eth0

# date –d –y
,写出所用命令。
# man sort

# less /etc/httpd/conf/ 按“Q”退出该命令
!写入/home/wang/(vi及vim编辑器除外)。
# echo ‘hello!’> /home/wang/

# usermod –s /sbin/nologin zhang

# route add default gw

# ping –c 10

# tar –zcvf /etc/
或# tar -jcvf /etc/

cal –j >>/dd

Pwd或ls

cat /etc/passwd >>/aaa

head -10 /etc/passwd

tail -10 /etc/vsftpd/
16重启samba服务的命令。
service smb restart

ps -aux

jobs -l

fg 5

service sshd stop

chmod o+x file1
(r)和写(w)的许可,而其他用户只能进行只读访问的命令。
chmod u=rw,o=r

umask 600 filename

cat /et