多项选择题linux系统中,以下显示结果相同的是()。

A、echo The current working path is $PWD.
B、echo "The current working path is $PWD." Echo hello
C、echo 'The current working path is $PWD.' Echo hello
D、echo "The current working path is `pwd`."
E、echo The current working path is $PWD. Echo hello


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题linux系统,把当前日期重定向到/tmp/date文件中,并不想覆盖原来的内容,下面正确的操作是()。

A、date>>/tmp/date
B、date>/tmp/date
C、date 2>/tmp/date
D、date &>/tmp/date

3.单项选择题在linux系统中,在/tmp下创建一个空文件file的命令是()。

A、mkdir /tmp/file
B、make /tmp/file
C、touch /tmp/file
D、mv /tmp/file

5.单项选择题在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令错误的是()。

A、mv /tmp/test/oldfile newfile
B、mv /tmp/test/oldfile /tmp/test/newfile
C、mv oldfile /tmp/test/
D、mv oldfile newfile

6.单项选择题在linux系统下,显示/tmp下的所有文件和目录的详细信息,以下命令中正确的是()。

A、ls -i /tmp
B、ls -l /tmp
C、ls -r /tmp
D、ls -d /tmp

7.单项选择题在linux系统中,建立目录/test/dir目录并设定dir权限为754,以下命令正确的是()。

A、mkdir -m 754 /test/dir
B、mkdir -p 754 /test/dir
C、mkdir -v 754 /test/dir
D、mkdir -d 754 /test/dir

9.多项选择题在linux系统中,我们用命ln建立文件test的硬链接文件test.link,则两文件相同的是()。

A、i节点
B、文件的权限
C、文件的大小
D、文件指向的区域
E、文件的拥有者组