InterviewSolution
| 1. |
What Command Would You Use To Create An Empty File Without Opening It To Edit It? |
|
Answer» You USE the touch command to create an empty file without NEEDING to open it. Answers a and e point to invalid commands, though either of these MIGHT actually be aliased to point to a real command. Answers b and c utilize editors, and so do not satisfy the requirements of the question. actually touch is used to change the TIMESTAMPS of a file if its exits, otherwise a NEW file with current timestamps will be created. You use the touch command to create an empty file without needing to open it. Answers a and e point to invalid commands, though either of these might actually be aliased to point to a real command. Answers b and c utilize editors, and so do not satisfy the requirements of the question. actually touch is used to change the timestamps of a file if its exits, otherwise a new file with current timestamps will be created. |
|