I have one txt file in my window machine in which there are 1000 urls example.
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
So if we type test url www.facebook.com in putty we got below output
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
@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!
admin@PA-VM> test url facebook.com > test.txt
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
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 Live Community thanks you for your participation!