News

In this example, the set -e command is invoked. $ cat script1 #!/bin/bash set -e cat nosuchfile echo “So long!” As you might suspect, the “nosuchfile” file doesn’t exist, so the script ...
For example, you might want to set a temporary variable for the version of your distribution you use, ... So, how do you set an environment variable in Linux? Let me show you.
For example, if you sometimes forget that ping on Linux will continue running until you stop it by typing control-c, you can make sure it sends out only four ping requests by using this alias ...
If you have set up a Linux box as a firewall, ... In this example, we are also going to make interface eth0 a passive interface so that routing updates will not be sent out of it.