How to store output

Reply
Highlighted
L2 Linker

How to store output

Hello Team,

 

 

I have one txt file in my window machine in which there are 1000 urls example.

test.abc.com

test.ftp1.com

 

so if i type this cmd in putty "test.url test.abc.com" i got some output.

 

Please let me know is there any way to save the output of all these 1000 urls like in linux we can use > root/Desktop/test.txt to save the output

Highlighted
Cyber Elite

Re: How to store output

@dmodi,

Can you explain what you are looking for in a bit more detail. 

Highlighted
L2 Linker

Re: How to store output

Putty can save screen output to a file. Look in sessions, then logging under that.

Just another I.T. guy
Highlighted
L2 Linker

Re: How to store output

Yes that we can do but that is putty feature there any other way

Highlighted
L2 Linker

Re: How to store output

So if we type test url www.facebook.com in putty we got below output

 

www.facebook.com social-networking (Base db) expires in 0 seconds
www.facebook.com social-networking (Cloud db)

 

 

so now i want to store this output only output at my machine desktop with test.txt name

 

Like in linux machine if we type any command and if we use > root/Desktop/test.txt it will save the output in test.txt file

Highlighted
L2 Linker

Re: How to store output

@dmodi I have a Windows10 system and opened a CMD window, typed "dir > list.txt" and it dumped the output of dir into that file... from there you can view whats in the file in your favorite text editor or type "type list.txt" and it showed me what was in the file...

 

By the way, if you use ">>" then it will append whatever you want to that existing file... for example, typing "dir >> list.txt" will append another directory listing to the end of list.txt.

 

This is very similar to *NIX commands albeit far less options... hth!

Highlighted
L2 Linker

Re: How to store output

admin@PA-VM> test url facebook.com > test.txt

Invalid syntax.
'admin@PA-VM> '

 

 

I took putty session of my firewall and tried that command but not working so is there any way to use that command "test url facebook.com > test.txt"  in putty session of firewall

 

Highlighted
Cyber Elite

Re: How to store output

@dmodi,

Putty will be writing all output to the text file you specified, there is no reason to include '> test.txt' in that command on the firewall, the firewall has absolutely no idea what to do with it. 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!