- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-19-2019 12:48 PM
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
12-19-2019 01:48 PM
Putty can save screen output to a file. Look in sessions, then logging under that.
Just another I.T. Guy
12-19-2019 03:22 PM
Yes that we can do but that is putty feature there any other way
12-19-2019 03:26 PM
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
12-19-2019 04:20 PM - edited 12-19-2019 04:30 PM
@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!
12-20-2019 07:16 AM
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
12-20-2019 07:28 AM
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.
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!