一个shell脚本的第一行是:#! /bin/csh它的作用是注释,表示下面脚本是csh脚本
一个shell脚本的第一行是:#! /bin/csh它的作用是注释,表示下面脚本是csh脚本
参考答案和解析
正确
相关考题:
用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。 A.etc/profile-$HOME/.cshrc-$HOME/.loginB.$HOME/.login-$HOME/.cshrc-etc/profileC.etc/profile-$HOME/.login-$HOME/..cshrcD.$HOME/.cshrc-etc/profile-$HOME/.login
AIX下创建smpsys用户的命令(属组为sms、家目录为/home/smpsys、shell模式为csh)是:() pgrp=sms home=/home/smpsys shell=/usr/bin/csh smpsys。
用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。A、etc/profile-$HOME/.cshrc-$HOME/.loginB、$HOME/.login-$HOME/.cshrc-etc/profileC、etc/profile-$HOME/.login-$HOME/..cshrcD、$HOME/.cshrc-etc/profile-$HOME/.login
A system administrator would like to modify the system default user characteristics so that each new user will now be assigned (by default) the csh shell rather than the ksh shell. Which of the following actions should be performed?()A、Run the command chlogin -shell "csh"B、Run the command mkuser -default "SHELL=csh"C、Edit /etc/passwd and change all "ksh" entries to "csh"D、Modify the contents of /usr/lib/security/mkuser.default file
下面有关AIXshell的描述,不正确的是()。A、Bourneshell:是最早的UNIXshell,称为标准shell,标识符为:/bin/sh,提示符为:$B、Kornshell:是Bourneshell的超集,功能最全,标识符为:/bin/ksh,提示符为:$C、shell:BSDshell,与C语言相似,标识符为:/bin/csh,提示符为:%D、以上全不对
单选题用户的缺省Shell为Csh,此用户登录时,其环境脚本的执行顺序为:()。Aetc/profile-$HOME/.cshrc-$HOME/.loginB$HOME/.login-$HOME/.cshrc-etc/profileCetc/profile-$HOME/.login-$HOME/..cshrcD$HOME/.cshrc-etc/profile-$HOME/.login
单选题在一个bashshell脚本的第一行上应加入下面所示中的哪一条语句。()A#/bin/cshB#/bin/bashC/bin/bashD#!/bin/bash