Solved

You Have a Terminal Window Open and the Current Directory

Question 21

Multiple Choice

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents