Question: i am using vim unixlinux commandline program i need you...
I am using VIM UNIX/Linux commandline program.
I need you to add a command that will search the textfile I created of the LOGFILE, search it for the word "invalid" and replace each instance with the word "UNKNOWN".
Then count the number of every failed password message for each user, (including unknown), and print the number to the screen.
Here is what I have so far:
yes | cp LOGFILE /tmp/temp.txt
#add stuff here
rm -rf tmp