Don't expose your system with sloppy scripts! Although a Linux desktop or server is less susceptible to viruses and malware than a typical Windows device, there isn't a device on the internet that isn ...
Bring your GitHub repository to the next level of functionality. For the past year since Microsoft has acquired GitHub, I've been hosting my Git repositories on a private server. Although I relished ...
A recent post about debugging constructs surprised me. There were quite a few comments about how you didn’t need a debugger, as long as you had printf. For that matter, we’ve all debugged systems ...
You need to package up a bunch of files, send them somewhere, and do something with them at the destination. It isn’t an uncommon scenario. The obvious answer is to create an archive — a zip or tar ...
How to use a Bash script for-loop for system administration in Linux Your email has been sent Bash scripting remains a staple of my endeavors in Linux as a system administrator, and I use it every day ...
Have you ever wanted to read a file one line at a time in a shell script and found the task to be a lot more trouble than you ever imagined? If you use a “for line ...
All kinds of things can go wrong with your shell scripts, but they don't have to. Let's look a some debugging tips that can help ensure your scripts run the way you intend. The first step in debugging ...
Some of the most versatile commands you can run on the Linux command line are those that enable you to pass the output of one command to another by using something called a “pipe”. You can also set up ...
Hosted on MSN
How Linux Exit Codes Help You Write Robust Scripts
Each Linux command returns an exit code, with 0 indicating success and non-zero values indicating failure. You can use the $? variable to access the exit code and control program flow in scripts. Be ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results