题目
单项选择题
Which of the following command will always create a new file?
选项
A.cp abc.txt SUB1
B.cat abc.txt
C.fileA=”New”
D.vi new.txt
查看解析
标准答案
Please login to view
思路分析
First, let's parse the question: which command will always create a new file?
Option 1: cp abc.txt SUB1
This uses the copy command to create a destination file named SUB1. If SUB1 does not exist, cp creates it by copying the contents of abc.txt into a new file named SUB1. If SUB1 already exists, cp will overwrite it with a copy of abc.txt unless you us......Login to view full explanation登录即可查看完整答案
我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。
类似问题
Question at position 19 What does the command wc ls do?Counts only the number of words of every file in the current directory.Counts the numbers of words, lines and characters of every file in the current directory.None of theseCounts the words in the file ls.
Question at position 3 Which of the following command will always create a new file?cat abc.txtfileA=”New”cp abc.txt SUB1vi new.txt
What command allows you to move into another directory? (Hint: It's only two letters long, and both letters are lower case)
Which command is used to find your current working directory?
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!