The commands for looping in bash are extremely useful. They allow you to run a series of commands as many times as needed to process a large collection of data. The break and continue commands provide another special option. They allow you to exit a loop early or skip the remaining commands in the loop… Continue reading Using ‘Break’ And ‘Continue’ To Exit Loops In Bash | Network World
Category: Linux
Linux Foundation To Blaze A Path Forward For Mainframes | Network World
Open-source software development will be a key component to keeping the mainframe a vibrant part of current and future enterprise architectures. With that in mind the Open Mainframe Project, part of the Linux Foundation, this week said at its Open Mainframe Summit that it was forming a working group to promote mainframe-modernization efforts and that… Continue reading Linux Foundation To Blaze A Path Forward For Mainframes | Network World
Using The Linux Apropos Command – Even If You Have To Fix It First | Network World
On Linux, the apropos command helps identify commands related to some particular term. It can be helpful in finding commands you might want to use—especially when you can’t remember their names. For example, if you couldn’t remember the command to display a calendar or put your shell to sleep for a short period of time,… Continue reading Using The Linux Apropos Command – Even If You Have To Fix It First | Network World
Use Bash To Change An Ip Address From Dynamic To Static On Linux | Network World
Changing the IP address of a Linux system from dynamic to static is not difficult, but requires a little care and a set of commands that you likely rarely use. This post provides a bash script that will run through the process, collect the needed information and then issue the commands required to make the… Continue reading Use Bash To Change An Ip Address From Dynamic To Static On Linux | Network World
How To Work On Linux With Filenames That Contain Blanks | Network World
Personally, I always try to avoid filenames with blanks, usually by filling those places where less blank-phobic people would use them with underscores or hyphens. The filenames are still easy to decipher, and I don’t have to trouble myself with enclosing them in quotes when I want to use them. As a result, some of… Continue reading How To Work On Linux With Filenames That Contain Blanks | Network World
How To Copy Files To Multiple Locations On Linux | Network World
Using a series of commands to copy a file to multiple locations or a number of files to a single location can be time-consuming, but there are options to speed up the process. This post explains some of them. Multiple commands like these can to copy a single file to a series of directories on… Continue reading How To Copy Files To Multiple Locations On Linux | Network World
Concatenating Strings And Using += In Bash | Network World
It’s quite easy to get bash to concatenate strings and do simple math on Linux, but there are a number of options for you to use. This post focusses on concatenating strings, but also shows how one of the operators (+=) also plays a primary role in incrementing numbers. Concatenating strings In general, the only… Continue reading Concatenating Strings And Using += In Bash | Network World
Checking Exit Codes In Bash | Network World
There are quite a few exit codes used on Linux systems, though no listing you can display when you’re feeling curious. In fact, you won’t see the numeric codes unless you specifically ask for them. Instead, you will see a textual description of the problem you encountered—such as “No such file or directory”—in a context… Continue reading Checking Exit Codes In Bash | Network World
Extracting Substrings On Linux | Network World
Puppeteer hands manipulating strings” itemprop=”contentUrl” /> There are many ways to extract substrings from lines of text using Linux and doing so can be extremely useful when preparing scripts that may be used to process large amounts of data. This post describes ways you can take advantage of the commands that make extracting substrings easy.… Continue reading Extracting Substrings On Linux | Network World
Connecting To Your Linux System With Your Android Phone | Network World
While using your cell phone to connect to your Linux system might not seem like much of a priority, it is possible and you might have a good reason to do this from time to time. If you have an Android cell phone, you can install a tool that will allow you to connect, open… Continue reading Connecting To Your Linux System With Your Android Phone | Network World