Which command-line tools would you use in Linux and Windows to diagnose network connectivity issues, check routing tables, and view active processes?