LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to read huge files at ssh (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-read-huge-files-at-ssh-728107/)

Seregwethrin 05-23-2009 10:57 PM

How to read huge files at ssh
 
Hello;

Simply I've a big file over 100mb and couldn't read by pico or nano.

How can I read it over ssh?

kirukan 05-23-2009 11:30 PM

try with vi or emacs editors, if you just want to read file then use "more" or "less"

baig 05-24-2009 03:12 AM

Code:

cat <your_file_name> | more
or
Code:

cat <your_file_name> | less
Cheers!!

billymayday 05-24-2009 03:24 AM

Why use cat?

less filename

more filename

baig 05-24-2009 05:12 AM

Because I'm not a guru ;)

thanks for correction.
Code:

less <file_name>
more <file_name>


Cheers!


All times are GMT -5. The time now is 06:00 AM.