The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...
This runs a continuous ping to Google's DNS, showing real-time information on whether your connection is dropping packets or not. Another helpful command is netstat -an, which shows every open port ...
Linux offers a couple of easy ways to record commands you type so that you can review or rerun them. Recording the commands that you run on the Linux command line can be useful for two important ...