网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。

  • A、cp -l /tmp/test/file /tmp
  • B、cp -s /tmp/test/file /tmp
  • C、cp -r /tmp/test/file /tmp
  • D、cp /tmp/test/file /tmp
  • E、cp /tmp/test/file /tmp/file

参考答案

更多 “在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” 相关考题
考题 In a test database, you issue the SELECT … INTO OUTFILE statement to create a file with your t1 table data. You then TRUNCATE this table to empty it.()Mysql> SELECT * INTO OUTFILE ‘/tmp/t1.sql‘ from t1;mysql> TRUNCATE t1;A.$ mysqladmin – u root – p – h localhost test – restore /tmp/t1.sqlB.Mysql> INSERT INTO t1 VALUES FROM ‘/tmp/t1.sql‘C.$ mysql – u root – p – h localhost test < /tmp/t1.sqlD.Mysql> LOAD DATA INFILE ‘/tmp/t1.sql‘ INTO TABLE t1E.$ mysqlinport – u root – p – h localhost test /tmp/t1.sql

考题 Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1.What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?() A.All three files will contain the updates and will remain available.B.All three files will be deleted and no changes will be made to /tmp/file2.C.Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.D.Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.

考题 在linux系统中,递归地压缩/tmp/test6/目录下的所有文件,正确的命令是()。A、gzip -v /tmp/test6B、gzip /tmp/test6C、gzip -r /tmp/test6D、tar -czvfr /tmp/test6

考题 linux系统中,在/tmp存在一文件file,想更新文件的时间目录为当前的时间的命令是()。A、mkdir /tmp/fileB、touch /tmp/fileC、mv /tmp/fileD、rm /tmp/file

考题 在linux系统中,在/tmp下创建一个空文件file的命令是()。A、mkdir /tmp/fileB、make /tmp/fileC、touch /tmp/fileD、mv /tmp/file

考题 在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

考题 在linux系统中,当前路径为/tmp/test,将/tmp/test/oldfile更改为/tmp/test/newfile,以下命令正确的是()。A、mv /tmp/test/oldfile newfileB、mv /tmp/test/oldfile /tmp/test/newfileC、mv oldfile newfileD、mv oldfile /tmp/test/newfileE、mv oldfile /tmp/test/

考题 在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系统中,删除/tmp/test目录及其子目录,并且不用确认,以下正确的命令是()。A、rm -rf /tmp/testB、rmdir /tmp/testC、rm -r /tmp/testD、rm -r -f /tmp/testE、rm -f /tmp/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系统中,要为用户jenny建立cron任务,要求五月到九月这五个月每周日晚11:59运行/tmp/test.sh文件,应在crontab文件中输入()。A、59 11 * 5,6,7,8,9 0 /tmp/test.shB、59 11 * 5-9 0 /tmp/test.shC、59 11 * 5,6,7,8,9 7 /tmp/test.shD、59 11 * 5-9 7 /tmp/test.shE、59 11 * */5 /tmp/test.sh

考题 在linux系统中,要建立cron任务,要求每年2月1日、8月1日的中午11点运行/tmp/test.sh文件,应在crontab文件中输入()。A、0 11 1 2 8 /tmp/test.shB、0 11 1 2 8 * /tmp/test.shC、0 11 1 2,8 /tmp/test.shD、0 11 1 2,8 * /tmp/test.sh

考题 In a test database, you issue the SELECT … INTO OUTFILE statement to create a file with your t1 table data. You then TRUNCATE this table to empty it.() Mysql> SELECT * INTO OUTFILE '/tmp/t1.sql' from t1; mysql> TRUNCATE t1;A、$ mysqladmin – u root – p – h localhost test – restore /tmp/t1.sqlB、Mysql> INSERT INTO t1 VALUES FROM '/tmp/t1.sql'C、$ mysql – u root – p – h localhost test < /tmp/t1.sqlD、Mysql> LOAD DATA INFILE '/tmp/t1.sql' INTO TABLE t1E、$ mysqlinport – u root – p – h localhost test /tmp/t1.sql

考题 在linux系统中,指定在今天下午 5:30 执行/tmp/test.sh文件,假设现在时间是 2008年9月30日中午12:30,下面()命令是错误的。A、at -f /tmp/test.sh 17:30 09/30/2008B、at -f /tmp/test.sh 5:30pm 09/30/2008C、at -f /tmp/test.sh now +5 minutesD、at -f /tmp/test.sh +5 minutes

考题 Files /tmp/file2 and /tmp/file3 are hard linked to /tmp/file1. What will the result be if a user makes changes to /tmp/file2 at the same time another user tries to delete /tmp/file1?()A、All three files will contain the updates and will remain available.B、All three files will be deleted and no changes will be made to /tmp/file2.C、Only /tmp/file2 will contain the updates, but /tmp/file3 will remain available.D、Both /tmp/file2 and /tmp/file3 will contain the updates and will remain available.

考题 下面哪个语句可以用来测试/tmp目录()。A、((-d/tmp))B、[-d/tmp]C、test-d/tmpD、{-d/tmp}

考题 多选题在linux系统中,删除/tmp/test目录及其子目录,并且不用确认,以下正确的命令是()。Arm -rf /tmp/testBrmdir /tmp/testCrm -r /tmp/testDrm -r -f /tmp/testErm -f /tmp/test

考题 多选题在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

考题 单选题在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系统中,要为用户jenny建立cron任务,要求五月到九月这五个月每周日晚11:59运行/tmp/test.sh文件,应在crontab文件中输入()。A59 11 * 5,6,7,8,9 0 /tmp/test.shB59 11 * 5-9 0 /tmp/test.shC59 11 * 5,6,7,8,9 7 /tmp/test.shD59 11 * 5-9 7 /tmp/test.shE59 11 * */5 /tmp/test.sh

考题 单选题在linux系统中,要建立cron任务,要求每年2月1日、8月1日的中午11点运行/tmp/test.sh文件,应在crontab文件中输入()。A 0 11 1 2 8 /tmp/test.shB 0 11 1 2 8 * /tmp/test.shC 0 11 1 2,8 /tmp/test.shD 0 11 1 2,8 * /tmp/test.sh

考题 单选题在linux系统中,指定在今天下午 5:30 执行/tmp/test.sh文件,假设现在时间是 2008年9月30日中午12:30,下面()命令是错误的。A at -f /tmp/test.sh 17:30 09/30/2008B at -f /tmp/test.sh 5:30pm 09/30/2008C at -f /tmp/test.sh now +5 minutesD at -f /tmp/test.sh +5 minutes

考题 单选题在linux系统中,在/tmp下创建一个空文件file的命令是()。A mkdir /tmp/fileB make /tmp/fileC touch /tmp/fileD mv /tmp/file

考题 单选题在linux系统中,递归地压缩/tmp/test6/目录下的所有文件,正确的命令是()。A gzip -v /tmp/test6B gzip /tmp/test6C gzip -r /tmp/test6D tar -czvfr /tmp/test6

考题 多选题在linux系统中,用cp命令将/tmp/test/file文件,复制到/tmp下,并保持原来的名字,以下命令中正确的是()。Acp -l /tmp/test/file /tmpBcp -s /tmp/test/file /tmpCcp -r /tmp/test/file /tmpDcp /tmp/test/file /tmpEcp /tmp/test/file /tmp/file