You have a terminal window open and the current directory is your home directory. You need to create a new file in your home directory named office.txt using the vi editor. Which of the following commands should you use to do this?
A) vi office.txt -new
B) vi office.txt
C) vi office
D) vi ~/ office
Correct Answer:
Verified
Q16: John has opened a text file named
Q17: You are using vi to edit a
Q18: You want to install Linux on a
Q19: Which of the following specifies the location
Q20: By default, which of the following modes
Q22: Which of the following files is used
Q23: John needs to change the permissions of
Q24: Which of the following software types can
Q25: Which of the following does the make
Q26: Which of the following specifies where the
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents