标题: 菜鸟恳请帮忙修正! [打印本页] 作者: eidolonye 时间: 2003-09-15 08:53 标题: 菜鸟恳请帮忙修正! 要求:Print the following user information: the home directory, mail directory, path, userid and login shell together with the current date and time.
提示:Script should list the specified environment variables. The current output of the date command, together with the userid and the full name of the user also needs to appear in this file, before the environment variables. The user’s full name must be obtained from the etc/passwd file and displayed as FAMILY NAME, followed by GIVEN NAME.
我写的: