1. [单选题]Shell变量不需要预先定义,若对其进行数值操作,可指定变量的属性为整数,具体命令为()
A. declare-a变量名
B. declare-f变量名
C. typeset-r变量名
D. typeset-i变量名
2. [单选题]用命令成功建立一个用户后,他的信息会记录在哪个文件中( )。
A. /etc/passwd
B. etc/group
C. etc/shadow
D. etc/profile
3. [单选题]在bash中,export命令的作用是()
A. 在子shell中运行命令
B. 使在子shell中可以使用命令历史记录
C. 为其它应用程序设置环境变量
D. 提供NFS分区给网络中的其它系统使用