Technology has changed so much from the early days, today we have more and more connected devices. This means more of our lives are dependent on this technology, meaning the security of those devices has become that much more important. In this blog post, we are going to take a look at the Nmap command. […]
Category: Linux Command Line
How To Use the Bash Source Command And Why
The “source” command in bash is used to execute a script in the current shell instead of a separate one. This simple difference has a wide variety of implications as I’ll describe below. Regular users of Linux are most familiar with the source command because they use it to reload configuration changes in the bash […]
How to Use SCP: Transfer Files from Local to Remote
While SSH is a way to log into a remote server from your local machine, it’s not a way to transfer a file from your local computer to the remote server. An SSH session works within the context of the remote server’s file system, and it doesn’t have any access to the files on your […]
How To Check Linux Memory Usage
Memory or random access memory (RAM) is a hardware component of a computer that is used to temporally store data. RAM can be compared to sticky notes and short-term memory. Like sticky notes, RAM acts as a temporary storage area where data and instructions are quickly accessible for immediate tasks, much like sticky notes. RAM is […]
Basic Log Management With Journalctl
On servers, logging is extremely important in determining the cause when an issue occurs. On newer systems that integrate systemd, systemd-journald was introduced to bring logs together in one place. Before log messages were written to separate files for each application typically located somewhere with /var/log. Journald changes that as it allows logs to be […]
How to Use Bash Sleep and Why
The “sleep” command in the bash terminal is a way to pause the execution of a script. We commonly use it to illustrate the concepts of processes to beginners, but beyond mere demonstrations, it’s quite useful for a variety of applications. In this article, I’ll show you what the sleep command does, how to use […]
The Linux Rsync Command: Usage and Practical Examples
Unix Like systems including Linux are composed of many files and folders. So it isn’t surprising that there are many times when synchronizing files and directories is needed. This is where the rsync command in Linux shines as it’s used to transfer data between two locations. It supports transferring files between local and remote directories. […]
The Linux Dig Command: What You Need To Know
DNS is a core concept in today’s modern age as we would have the concept of domain names without it. Imagine needing to remember an IP address like 198.51.100.215 Instead of a domain name like namehero.com. Better yet a fill IPv6 address like 2001:DB8:d824:d476:d6e6:ad69:446f:e630. You can see what domains are needed. In this post, we […]
What a “502 Bad Gateway” Error Means for NGINX
Every now and then, when you browse the web, you see an error message that says “502 Bad Gateway” like this: It’s a rather cryptic message, and if this is something you encounter as a user, there’s nothing you can do other than move along and try again later. But if you’re a website administrator, […]
What Is The Bash Continue Statement And How To Use It?
Shell Scripting is a way to take shell commands that you could use from a normal command line and string them together allowing it to be run as a program allowing for automating repetitive tasks. Bash scripting is just one shell scripting language. Be aware that shell scripting is not the same as traditional programming […]
