-
Aug 26, 2024 |
lxer.com | Sandra Henry Stocker |Sean Michael Kerner |Denise Dubie |Unix Dweeb
Credit: Shaldark Illustrations/Shutterstock There are numerous ways to compare text files on a Linux system from the command line. This post describes seven commands that can help you do this and explains how to interpret the results.
-
Aug 26, 2024 |
networkworld.com | Sandra Henry Stocker |Michael Cooney |Unix Dweeb |Jon Gold
There are numerous ways to compare text files on a Linux system from the command line. This post describes seven commands that can help you do this and explains how to interpret the results.
-
Aug 1, 2024 |
networkworld.com | Sandra Henry Stocker |Michael Cooney |Jeff Vance |Unix Dweeb
Linux provides all sorts of tools for data analysis and automation, and it can also help with an issue that we all struggle with from time to time: spelling! Whether you’re grappling with the spelling of a single word while you’re writing your weekly report, or you want a set of computerized “eyes” to find any typos before you submit a business proposal, maybe it’s time to check out how Linux can help.
-
Jul 29, 2024 |
networkworld.com | Sandra Henry Stocker |Ann Bednarz |Lynn Greiner |Unix Dweeb
Credit: Shutterstock / PeopleImages.com - Yuri A Most of the time, exiting a script leaves you sitting at the command prompt. If you need to log out of your Linux system from within a script, things get a little complicated. Exiting a script and logging out are very different. There are, however, two ways to manage this.
-
Jul 15, 2024 |
networkworld.com | Andy Patrizio |Unix Dweeb |Gyana Ranjan Swain |Sandra Henry Stocker
The rm (remove) command is the most obvious way to remove files that you no longer need on your Linux system, and it includes some very useful options. There are a number of other options, too, however. This post covers many ways to clean up or remove files. The rm command simply removes a file and is one of the basic commands that just about every Linux user needs on a routine basis. There are complications, however. Where the file resides makes a difference, for example.
-
Nov 14, 2023 |
networkworld.com | Sandra Henry-Stocker |Unix Dweeb
To get started as a Linux (or Unix) user, you need to have a good perspective on how Linux works and a handle on some of the most basic commands. This first post in a “getting started” series examines some of the first commands you need to be ready to use. When you first log into a Linux system and open a terminal window or log into a Linux system from another system using a tool like PuTTY, you’ll find yourself sitting in your home directory.
-
Nov 1, 2023 |
networkworld.com | Sandra Henry-Stocker |Unix Dweeb
Linux’s compgen command is not actually a Linux command. In other words, it’s not implemented as an executable file, but is instead a bash builtin. That means that it’s part of the bash executable. So, if you were to type “which compgen”, your shell would run through all of the locations included in your $PATH variable, but it just wouldn’t find it.
-
Oct 23, 2023 |
networkworld.com | Sandra Henry-Stocker |Unix Dweeb
Linux systems provide numerous ways to work with numbers on the command line – from doing calculations to using commands that generate a range of numbers. This post details some of the more helpful commands and how they work. One of the most commonly used commands for doing calculations on Linux is expr. This command lets you use your terminal window as a calculator and to write scripts that include calculations of various types.
-
Oct 16, 2023 |
networkworld.com | Sandra Henry-Stocker |Unix Dweeb |grep America
Linux provides a lot of ways to display date and time information and not just for the current date and time. You can get information on dates way in the past or in the far future. You can also limit the data provided to just the current weekday or month. This post explains many of these options and provides examples of what you can expect to see. Typing “date” on the Linux command line results in quite a bit more data than just the date.
-
Oct 12, 2023 |
networkworld.com | Sandra Henry-Stocker |Unix Dweeb
This post covers some well-known Linux commands that, when used with particular options and arguments, can save you some time or ensure that what you are doing is what you intended. The first “trick” involves how you exit vi or vim and the difference that can make. The vi and vim editors are the most commonly used text editors on Linux systems. When you exit either with :x instead of the more common :wq, the file will only be saved if you have just made changes to it.