Tuesday, January 30, 2024

[SOLVED] how to view the content of a file in unix in ftp mode of DOS?

Issue

How can I view the content of a file (on a Unix server) when I log into Unix from the Windows command prompt in FTP mode? I tried vi,cat and ed but none of them works.I can view the files using ls -l, but can't view the content. If there is any special command please let me know.


Solution

You can not run VI and cat over a FTP client. You want to log into the unix box with SSH and then use VI and/or cat.

FTP is for file transfers only.

SSH allows for command line functions. Editing and viewing of files on the server.



Answered By - dhempler
Answer Checked By - Mary Flores (WPSolving Volunteer)