How do I open a text file in SSH?
Answer
The steps are follows to open a file:
Answer
The steps are follows to open a file:
- Log in using ssh: ssh
[email protected]
- To show just file run: cat /path/to/file.
- To edit or open a file named demo.py in the current directory, execute: nano demo.py. vi demo.py.
- Other options are: more filename. less filename.