niusouti.com
参考答案和解析
正确答案:B
更多“下面哪条命令可用来确保文件“file1”存在()A、cp file1/dev/nullB、touch file1C、create file1D、mkfile file1”相关问题
  • 第1题:

    如果希望把file1的内容附加到原有的文件file2的末尾,应用什么命令?


    答案:Scatfile1>>file4

  • 第2题:

    假设用户user是file1文件的拥有者,file1文件的存取权限被设为-r-xr—r--,这表明user只有()的权力。

    • A、读和执行
    • B、读和写
    • C、写和执行
    • D、只读

    正确答案:A

  • 第3题:

    命令ls -l >file1与ls -l >>file1的含义的含义一样。


    正确答案:错误

  • 第4题:

    写出将文件file1、file2合并成一个文件fileall的命令。


    正确答案:Cat file1 file2>>fileall

  • 第5题:

    在windows中,下面正确的文件名是()

    • A、file1/1.doc
    • B、a198.xls
    • C、student:.ppt
    • D、read?.txt

    正确答案:B

  • 第6题:

    命令head-120file1file2的含义是:()

    • A、同时显示文件file1和file2的前120行
    • B、同时显示文件file1的前120行并且存入文件file2
    • C、同时删除文件file1和file2的前120行

    正确答案:A

  • 第7题:

    下面哪条命令可用来确保文件“myfile”存在()

    • A、cp myfile  /dev/null
    • B、touch myfile
    • C、create myfile
    • D、mkfile myfile

    正确答案:B

  • 第8题:

    You are the network administrator for . Your network consists of a single Active Directory domain named . All network servers run Windows Server 2003, and all client computers run Windows XP Professional. You install a new file and print server named File1. You configure standard company policies and other local options. You use third-party software to create and save an image of the server. Then you join File1 to the domain. Six weeks later, you reapply the saved image to File1 and restart the server. You try to log on to the domain by using domain credentials. However, you are unsuccessful. You need to log on to File1 and re-establish its domain membership. Your solution must require the minimum amount of administrative effort. Which two actions should you perform? ()(Each correct answer presents part of the solution. Choose two)

    • A、Reset the computer account for File1 in Active Directory Users and Computers.
    • B、Reset the password for Administrator account by logging on locally to File1 as a member of the local Power Users group.
    • C、Reinstall and reconfigure File1.
    • D、Join File1 to the domain.
    • E、Remove File1 from the domain.

    正确答案:A,D

  • 第9题:

    单选题
    下面哪条命令可用来确保文件“file1”存在()
    A

    cp file1/dev/null

    B

    touch file1

    C

    create file1

    D

    mkfile file1


    正确答案: C
    解析: 暂无解析

  • 第10题:

    单选题
    在UNIX中,可用ls命令察看文件属性,一个文件file1的属性为“RW_R_ _ R _ _”,如果对文件赋予本用户读写执行权限,组内用户和其它用户读写权限,则使用()命令。
    A

    chmod g+rw,o+r file1

    B

    chmod 755 file1

    C

    chmod g+rwx file1

    D

    chmod 775 file1


    正确答案: D
    解析: 暂无解析

  • 第11题:

    判断题
    命令cat file1 file2 >file3把file1和file2组合成file3。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第12题:

    判断题
    命令ls -l >file1与ls -l >>file1的含义的含义一样。
    A

    B


    正确答案:
    解析: 暂无解析

  • 第13题:

    命令cat file1 file2 >file3把file1和file2组合成file3。


    正确答案:正确

  • 第14题:

    如果newdir/file2文件不存在,但是目录newdir已存在,mvfile1newdir/file2命令将有什么结果?()

    • A、file1将被移动到newdir并重命名为file2
    • B、file1将被复制到newdir并命名为file2
    • C、file1将被删除
    • D、将报错,因为以上不是有效的命令

    正确答案:A

  • 第15题:

    在UNIX中,可用ls命令察看文件属性,一个文件file1的属性为“RW_R_ _ R _ _”,如果对文件赋予本用户读写执行权限,组内用户和其它用户读写权限,则使用()命令。

    • A、chmod g+rw,o+r file1
    • B、chmod 755 file1
    • C、chmod g+rwx file1
    • D、chmod 775 file1

    正确答案:B

  • 第16题:

    public class test {  public static void main(String [] a) {  assert a.length == 1;  }  }  Which two will produce an AssertionError?()

    • A、 java test
    • B、 java -ea test
    • C、 java test file1
    • D、 java -ea test file1
    • E、 java -ea test file1 file2
    • F、 java -ea:test test file1

    正确答案:B,E

  • 第17题:

    系统中有用户user1和user2,同属于users组.在user1用户目录下有一文件file1,其本身权限为644,如果要允许user2用户修改user1用户目录下的file1文件,则应该改file1的权限,为什么?()

    • A、744
    • B、664
    • C、646
    • D、746

    正确答案:B

  • 第18题:

    以下哪些命令能找到文件file1和file2不同之处并显示出来:()

    • A、cmp file1 file2
    • B、diff file1 file2
    • C、more file1 file2

    正确答案:A,B

  • 第19题:

    如果要将文件名file1修改为file2,下列命令()可以实现。

    • A、cp file1file2
    • B、mv file1file2
    • C、ls file1>file2
    • D、ll file1>file2

    正确答案:B

  • 第20题:

    单选题
    下面哪条命令可用来确保文件“myfile”存在()
    A

    cp myfile  /dev/null

    B

    touch myfile

    C

    create myfile

    D

    mkfile myfile


    正确答案: A
    解析: 暂无解析

  • 第21题:

    单选题
    UNIX系统命令cat file1>>file2功能是()。
    A

    将文件file2的内容添加到文件file1的末尾

    B

    将文件file1的内容添加到文件file2的末尾

    C

    连接文件file1和file2

    D

    显示文件file1和file2


    正确答案: B
    解析: 暂无解析

  • 第22题:

    问答题
    写出将文件file1、file2合并成一个文件fileall的命令。

    正确答案: Cat file1 file2>>fileall
    解析: 暂无解析

  • 第23题:

    单选题
    假设用户user是file1文件的拥有者,file1文件的存取权限被设为-r-xr—r--,这表明user只有()的权力。
    A

    读和执行

    B

    读和写

    C

    写和执行

    D

    只读


    正确答案: A
    解析: 暂无解析