![]() If you want to examine the end of the log, you can use tail (e.g. Then you have multiple options to navigate through them: a web server or cron jobs), then the files are already there. If you need to examine existing log files from already running processes (e.g. You can then less output.txt for instance, or any of the other tools listed below To save the output, redirect the output to a file: super_script > output.txt. Save the output of the command to a file, which you'll then be able to view using less (or possibly an editor like vim or nano or many others, depending on the size of the output). So if your command is super_script you just type super_script | less. Many ssh clients will allow you to search in that memory and then you can scroll back and forth using the window's scroll bars Use your ssh client's "scroll back" memory (which is usually limited in size, but configurable). If you connect to your remote server, start some process which generates a lot of output (shown directly on screen in your ssh window while you run it), and you want to search for something in that output, you can either: You are probably mixing things up a little bit, but that depends a bit on what you actually want to do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |