Hey all your guru's.
I think I asked a similar question before using these commands. But I am still having trouble with a new line. Here is what I havve
Is there a way I only display the second line of the output? I only want to see "ftp". (last time i was asking how to get last column i think) Is there a tutorial to learn this? Is this shell scripting? >.< Thanks for all your help in advance!
I think I asked a similar question before using these commands. But I am still having trouble with a new line. Here is what I havve
Code:
#dinosaur:~/nmap-4.20$ nmap -A 199.67.4.21 -p 21 | grep 21/tcp | cut -f1 | awk '{ print $3 }'
Warning: File ./nmap-service-probes exists, but Nmap is using /usr/local/share/nmap/nmap-service-probes for security and consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files too).
ftp