How do you display a text file in Linux terminal?

Phương Quyên

New member
How do you display a text file in Linux terminal?
Answer
Part 3 Using Vim
  1. Type vi filename.txt into Terminal.
  2. Press ↵ Enter .
  3. Press your computer’s i key.
  4. Enter your document’s text.
  5. Press the Esc key.
  6. Type :w into Terminal and press ↵ Enter .
  7. Type :q into Terminal and press ↵ Enter .
  8. Reopen the file from the Terminal window.
 

Tìm kiếm

Back
Top