Have you gotten the error message “host key verification failed” when connecting to a remote server and are stuck wondering what it means and how to fix it? If so you have found your way to the right place. In this blog post, we will break down what the error means, possible causes, and the […]
Category: Linux Command Line
How To Use rsync With “exclude” To Sync Files In Linux
The rsync command’s roots go back to 1996 – though not nearly as far back as some of the other Linux commands like awk. It was designed to efficiently sync files between two locations. At the time, the technology it used – the delta transfer algorithm – was a new one, but it has since […]
Taking Control Of Default Permissions With Umask
On Unix-like operating systems like Linux, the operating system consists of files and folders. With everything coming back to files and folders, permissions are important. Permissions for newly created files are just as important. Think about it, you don’t want to be constantly thinking about file permissions, and nor should you or your users. That […]
The SCP Command: Permission Denied Error
On Unix and Linux systems one of the go-to commands used to copy files is the SCP command. When everything is working that’s great but what if you run into an error? In this post, we will discuss SCP and SSH, Debugging, and potential causes of the SCP permission denied errors. Understanding SCP And SSH The […]
Keeping Your Linux System Up-to-date With APT
Debian-based Linux distributions use .deb files for installing packages. These deb files are then stored in a central repository to make retreating these files easy. This is where a package manager like apt comes into play as it allows you to search and install packages from those remote package repositories. In this post, we will discuss how to keep […]
Awk Command: Everything You Need To Know
As with so many Linux tools, the awk command was developed in Bell Labs in the 1970s. It was named after its creators – Alfred Aho, Peter Weinberger, and Brian Kernighan, whose last names’ letters form “AWK”. Awk is a tool for manipulating strings. It can take a text file as an input, read its […]
Understanding File Permissions On Linux With Chmod
On Unix-like operating systems like Linux, the operating system consists of files and folders. With everything coming back to files and folders, access control of them is extremely important. Think about it with the right level of access you can do anything. File permissions allow us to restrict access to only those who should have […]
Understanding What The Linux PATH Variable Is And How To Add To It
Have you ever wondered how Linux and other Unix-like operating systems know where programs are located when you try and run a command? The path variable is responsible for this, it tells the operating system where to search for executable files. Contained in the path variable is a list of directories that are searched though […]
How to Add Users to Sudoers in Debian
Many commands in Debian require elevated privileges. Something as simple as updating the system with: apt update Generates the following message: As you can see, you get a “permission denied” message. This is because the command can only be executed by users using a special qualifier – sudo. The “sudo” command allows you to run […]
How To Mount CIFS/SMB Shares On Linux
In this blog post, we are going to take a look at how to mount SMB shares on Linux. From the related terms, to what needs to be installed, and how to mount it to your local file system. Then wrapping up with troubleshooting and unmounting. What Is CIFS? CIFS stands for common internet file […]
