网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
test命令主要提供了判断功能,语法格式为:test–[dfrwxs]file,其中-ffile表示()
A
文件file存在且为目录文件
B
文件file存在且为普通文件
C
文件file存在且文件长度为非零
D
文件file存在且为可执行文件
参考答案
参考解析
解析:
暂无解析
更多 “单选题test命令主要提供了判断功能,语法格式为:test–[dfrwxs]file,其中-ffile表示()A 文件file存在且为目录文件B 文件file存在且为普通文件C 文件file存在且文件长度为非零D 文件file存在且为可执行文件” 相关考题
考题
若磁盘上已存在某个文本文件,其全路径文件名为 d:\ncre\test.txt ,下列语句中不 能打开该文件的是A . ifstream file("d:\ncre\test.txt") ;B . ifstream file("d:\ncre\test.txt");C . ifstream file; file.open("d:\ncre\test.txt");D . ifstream* pFile=new ifstream("d:\ncre\test.txt");
考题
请选择下面File参数书写正确的一项( )。A.File("d:\\file\test3.txt")B.File("d:\\file\\test3.txt")C.File("d:\file\test3.txt")D.File("d:\file\\test3.txt")
考题
库文件TEST.DBF尚未打开,要将该文件复制为数据库文件TESTl.DBF,应该使用命令( )。A.COPY TO TESTl.DBFB.COPY STRUCTURE TTESTl.DBFC.COPY FILE TEST.DBF TTESTl.DBFD.COPY INDEXES TEST.DBF TO TESTl.DBF
考题
执行命令 .STORE″3.1416″TO TEST .?TYPE(″TEST″) 其结果为( )A.DB.LC.CSX
执行命令 .STORE″3.1416″TO TEST .?TYPE(″TEST″) 其结果为( )A.DB.LC.CD.N
考题
若磁盘上已存在某个文本文件,其全路径文件名为d:\ncre\test.txt,下列语句中不能打开该文件的是A.ifstream file("d:\ncre\test.txt");B.ifstream file("d:\\ncre\\test.txt");C.ifstream file;file.open("d:\\ncre\\test.txt");D.ifstream* pFile=new ifstream("d:\\ncre\\test.txt");
考题
若磁盘上已存在某个文本文件,其全路径文件名为d:\shiti\tes.txt,下列语句中不能打开该文件的是( )。A.ifstream file("d:\shiti\test.txt");B.ifstream file("d:\\shiti\\test.txt");C.ifstream file;file.open("d:\\shiti\\test.txt");D.ifstream* pFile = new ifstream("d:\\shiti\\test.txt");
考题
假设用户登录名:TEST;域名:Contoso.Com,则Windows Server 2003用户主体登陆名的格式为()。
A.Test@contosoB.Contoso.com\TestC.Test@Contoso.comD.Contoso\Test
考题
下列代码能够正确找到id为test的div元素的代码是?(其中$为jQuery)()A、$(’.test’)B、$(’div#test’)C、$(’div.test’)D、$(’div’)
考题
为表TEST中ID列添加主键约束的语法是()A、ALTER TABLE TEST CHANGE( ID INT PRIMARY KEY)B、ALTER TABLE TEST ADD( ID INT PRIMARY KEY)C、ALTER TABLE TEST MODIFY( ID INT PRIMARY KEY)D、ALTER TABLE TEST ADD CONSTRAINT PK PRIMARY KEY (ID)
考题
test命令主要提供了判断功能,语法格式为:test–[dfrwxs]file,其中-ffile表示()A、文件file存在且为目录文件B、文件file存在且为普通文件C、文件file存在且文件长度为非零D、文件file存在且为可执行文件
考题
public class test { public static void main(String [] a) { assert a.length == 1; } } Which two will produce an AssertionError?()A、 java testB、 java -ea testC、 java test file1D、 java -ea test file1E、 java -ea test file1 file2F、 java -ea:test test file1
考题
在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。A、cp -l /tmp/test/file /tmpB、cp -s /tmp/test/file /tmpC、cp -r /tmp/test/file /tmpD、cp /tmp/test/file /tmpE、cp /tmp/test/file /tmp/file
考题
假设用户登录名:TEST;域名:Contoso.Com,则Windows Server 2003用户主体登陆名的格式为()。A、Test@contosoB、Contoso.com/TestC、Test@Contoso.comD、Contoso/Test
考题
单选题在linux系统中,将文件/tmp/test1和/tmp/test2压缩到/tmp/test.gz,正确的命令是()。A
tar -czvf test1 test2 test.gzB
tar -czvf test.gz test1 test2C
tar test.gz test1 test2D
tar test1 test2 test.gz
考题
单选题在linux系统中,用cp命令将/tmp/test中的文件到/tmp/test1中,不想拷贝目录本身,以下命令正确的是()。A
cp -R /tmp/test /tmp/test1B
cp -r /tmp/test /tmp/test1C
cp -R /tmp/test/. /tmp/test1D
cp /tmp/test /tmp/test1
考题
单选题在linux系统中,删除/test/test1目录,当/test目录为空时,希望一并删除,以下命令中正确的是()。A
rmdir -r /test/test1B
rmdir -p /test/test1C
rmdir -R /test/test1D
rmdir -l /test/test1
考题
多选题在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令正确的是()。Amv /tmp/test/oldfile newfileBmv /tmp/test/oldfile /tmp/test/newfileCmv oldfile newfileDmv oldfile /tmp/test/newfileEmv oldfile /tmp/test/
考题
单选题在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令错误的是()。A
mv /tmp/test/oldfile newfileB
mv /tmp/test/oldfile /tmp/test/newfileC
mv oldfile /tmp/test/D
mv oldfile newfile
考题
多选题public class test { public static void main(String [] a) { assert a.length == 1; } } Which two will produce an AssertionError?()Ajava testBjava -ea testCjava test file1Djava -ea test file1Ejava -ea test file1 file2Fjava -ea:test test file1
考题
单选题ACD TEST 表示()。A
查询TEST子目录内容B
将当前工作目录转移到TEST子目录下C
以CD命令建立批文件TEST. BATD
建立新的TEST子目录
热门标签
最新试卷