I wrote a small script for running a network vulnerability tool but it doesn't seem to be outputting to the file path I want it to. Can someone point out where I went wrong?
cisco-torch -A 192.168.128.1 -l v > ~/Documents/Network Scanning Logs/ciscotorchlogs/ciscotorchlogs$(date+"%Y_%m_%d_%I_%M_%p")logfile.txt
Ideally the script is supposed to run and create a new file names ciscotorchlogs(date)logfile.txt and put its output in there. I ran the script overnight but I came back this morning and found it had not created any output files.
Thanks for the help.