Linux Commands

Articles marked as Linux Commands center around the Linux command line, and using it to accomplish a particular task.

 

Linux Nightly believes that the command line is the most powerful feature of this operating system. In these guides, we’ll help you master essential Linux commands.

Generate File of Specific Size on Linux (With Commands)

Generating files of a specific size can be useful for testing purposes. There are several different commands in Linux that can create files of certain sizes. Check out the commands and examples below to learn how. Generate file of specific size with truncate The truncate command may be the perfect tool for the job, as …

Generate File of Specific Size on Linux (With Commands) Read More »

Kill Processes in Linux – Kill, Pkill, Killall Commands

The kill, pkill, and killall commands are used to terminate processes on a Linux system. They are default command line utilities that all pretty much do the same thing, but in different ways. Mastering these commands will allow a Linux user to exercise more control over their system, as they’ll have the ability to end …

Kill Processes in Linux – Kill, Pkill, Killall Commands Read More »

How to Use Zstandard Compression on Linux (With Commands)

Let’s talk about compression. As a Linux user, you’re probably already familiar with longtime staples like gzip, bzip2, and xz. They’ve been around for a while, and most everyone has at least stumbled across them by now, if they’re not actively using them on a regular basis. As if there weren’t enough already, there’s a …

How to Use Zstandard Compression on Linux (With Commands) Read More »

Top 10 Most Useful rsync Commands

The rsync Linux command is a versatile tool for incremental file transfers. Specifically, it keeps two directories in sync, whether they be local directories or remote. As you can imagine, this works incredibly well for backups or for directories that receive gradual file changes. It’s almost impossible to overstate the versatility of rsync. The command …

Top 10 Most Useful rsync Commands Read More »

Backup and Restore MySQL Databases via Linux Command Line

If you are running MySQL on Linux and need to back up your databases, you can use Bash commands from the terminal to accomplish the task. A simple script could even make daily backups. In this guide, we’ll show you how to backup your MySQL databases and restore data from those backups. Make a Backup …

Backup and Restore MySQL Databases via Linux Command Line Read More »