How do I open a text file in SSH?

Đức Lưu

New member
How do I open a text file in SSH?
Answer
The steps are follows to open a file:
  1. Log in using ssh: ssh

    [email protected]
  2. To show just file run: cat /path/to/file.
  3. To edit or open a file named demo.py in the current directory, execute: nano demo.py. vi demo.py.
  4. Other options are: more filename. less filename.
 

Tìm kiếm

Back
Top