What does ping -c 4 target do?
ping -c 4 target
Sends four ICMP echo requests to target to check reachability
target
Scans the first four TCP ports
Sends packets continuously until the host stops
Opens four SMB sessions