文件名称:LINUX
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:21.4kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
写一个脚本文件checkuser,该脚本运行时带一个用户名作为参数,具体要求如下:
1)如果命令行格式不符合要求,应有错误提示信息;
2)在/etc/passwd文件中查找是否有该用户,
如有,则输出“Found <user> in the /etc/passwd file.”
否则,输出“No such <user> on our system”
-Write a scr ipt file checkuser, the scr ipt run-time with a user name as a parameter, and specific requirements are as follows: 1) If the command-line format does not meet the requirements, there should be error message 2) in/etc/passwd file to check if there were any users, and if so, then the output " Found <user> in the/etc/passwd file. " Otherwise, output" No such <user> on our system "
1)如果命令行格式不符合要求,应有错误提示信息;
2)在/etc/passwd文件中查找是否有该用户,
如有,则输出“Found <user> in the /etc/passwd file.”
否则,输出“No such <user> on our system”
-Write a scr ipt file checkuser, the scr ipt run-time with a user name as a parameter, and specific requirements are as follows: 1) If the command-line format does not meet the requirements, there should be error message 2) in/etc/passwd file to check if there were any users, and if so, then the output " Found <user> in the/etc/passwd file. " Otherwise, output" No such <user> on our system "
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shell编程.wps
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.