Advice for everyday Unix systems administration and some clever ways to approach more challenging problems.
Linux systems support pipes that enable passing output from one command to another, but they also support 'named pipes,' which are quite different.
Moving a command or script that you're running on the command line to the background so that you can start another job and managing backgrounded processes requires only a handful of commands.
Assigning sudo privileges to users allows them to help manage the system by running commands that they would not otherwise be allowed to use.
Linux provides quite a few commands to look into file system types. Here's a look at the various file system types used by Linux systems and the commands that will identify them.
The >, >>, &, && and || characters are extremely useful whenever you're working on the Linux command line.
The mkdir command can create not just a directory but also a complex directory structure if you ask in the right way.
There are a lot of ways to get help on Linux, especially when you're getting started and want to learn a number of important commands.
There a quite a few ways to narrow your search when trying to find files on a Linux system.
PuTTY can do a lot more than allow you to log into Linux from another system. It also allows you to tailor your window in several ways.
Linux provides a number of ways to control who has access to your files and what kind of access they have.
Setting up aliases on Linux systems can save you a lot of time and trouble on the command line. This post shows how to set up and manage aliases and provides a number of examples on how and why to use them.
The convert command (part of ImageMagick) can change the resolution of image files faster than you can count to F in hex.
The grep command offers interesting options to help you find what you want from text files.
Viewing the content of files and examining access permissions and such are very different options. This post examines a number of ways to look at files on Linux.
Here's how to learn about the many bash builtins you might be unfamiliar with.
The netstat command can display an overwhelming amount of network statistics. Ready to make your focus a little easier with a series of aliases?
The ncdu command provides a convenient way to review files and the disk space being used on Linux systems, but the file sizes may appear a little strange at first.
Check out how you can ensure that proper arguments are passed to your bash scripts.
The at command allows you to run a task on a Linux system at any time or date you specify.
The Ctrl-x-e key sequence provides a quick and easy way to save commands you've recently used on the command line into files.
The dict command on Linux can provide you with access to a large collection of dictionaries, many with a special focus.
Here's how to change your Linux command prompt to something you might like better.
Here are some steps you can take to ensure that your bash scripts work as intended and are easy to update.
There are a number of commands on Linux that can help you turn a series of lines of text into a single line. This article explains two of them and provides some scripts to make the job even easier.
The awk, gawk and sed commands can turn tedious work into quick fixes. Check out the ways these commands can help get work done smoothly and easily.
The hexedit command provides a way to edit binary files, but to view and save the content in a file for later analysis without editing, try the xxd command.
There's a lot to learn about image files on the command line, from verifying file format to finding out where and when photos were taken and maybe even getting an unusual view of what they look like.
To manage user accounts on Linux systems, you'll need to be familiar with some important files and commands.
The locale settings on Linux systems can sync dates and times with where you are in the world.
A few clever Linux commands can make it a lot easier to create, view and remove complex directory structures.
The ss command on Linux systems can provide extensive details on the sockets that provide communications between systems. This article describes ss and some of the many options available to you.
Linux provides a number of commands for examining network connections and sometimes creates new ones to expand functionality.
Linux provides commands for converting numbers from one base to another. Learn how to uses these commands and how to make the process easier with scripts and aliases.
There are many ways to loop through data on Linux using bash and many ways to generate the data to be looped through.
The zdiff and zcmp commands can see if Linux files differ and if so, how.
The highly compatible zip, unzip and zipcloak commands on Linux can help you create encrypted zip files and extract their contents as needed.
Linux provides a lot of useful commands for looking at users, their activity and their impact on the system.
The ac command can provide very useful summaries of how much time users spend logged into a Linux system. It gets its data from the wtmp file.
There are lots of sides to bash and much to know before you're likely to feel comfortable snuggling up to it. This post examines many aspects of this very popular shell and recommends further reading.
If you need to count how many of each character is included in a file or phrase, there are some handy commands you can string together to accomplish this along with scripts and aliases that can make the job easy.
The Linux aspell and enchant tools can both ID typos in text files and suggest replacements.
A tool called wikit provides an easy way to get information from Wikipedia without leaving the Linux command line.
Bash functions can group related commands in Linux and run them as frequently or infrequently as needed. They can also make scripts more readable by organizing commands by the roles they play.
Here are some of the more popular bash options to control how scripts work on Linux and how to list the available options, including seeing which ones are turned on.
As nice as looping in Linux scripts can be, you might just want to interrupt it sometimes, and the break and continue commands can do this.
The apropos command can help you find commands or discover some you don't yet know, but if you get the response "nothing appropriate", it might need some help.
Filenames that contain blanks can add complexity to the commands you use to work with them. Fortunately, there are several handy ways to make that easier.
You can run a series of Linux commands to copy multiple files to a folder or copy a single file to multiple folders, but you can save time and trouble by using xargs, loops and scripts.
No matter what command you run when using bash, an exit code is returned and the code can tell you if your command was successful or you ran into a problem. Exit codes and error messages are related, but you have to ask to see an exit code while erro....
The Linux if command can help find types, permissions, and content of files, among many other things.
Sponsored Links