Total 13 Posts

## Guide to Understanding chmod

### Introduction

File access permissions and security are at the heart of *nix-based operating systems. File objects can belong to users and/or groups, and at times they need to be shared with various combinations of those two. There are multiple ways in *nix systems to reinforce secure sharing of these

## How to Concatenate String Variables in Bash

### Introduction

Bash utilities make so many tasks simple, but not all tasks have a straightforward command or operator. A very common and usual task in many scripting scenarios is concatenating string variables.

Bash doesn't have a built-in function or command-line utility to concatenate two strings together. However, there are many

## Get Total Size of a Directory in Linux

### Introduction

In Linux, ls -l would list the files and directories in a particular path, with their names, dates, and sizes (disk usage). The first thing you'll notice using that command is that size of directories is always shown as 4096 bytes (or 4,0K if you're using ls -lh

## How to Use the crontab Command in Unix

### Introduction

When managing a computer, we may want to automate some tasks to run in certain periods or at the same time on each day/week/month. On a desktop, we may schedule update checks or virus scans. On a server, it's not uncommon for a myriad of checks and

## Using SCP to Copy and Securely Transfer Files and Folders

### Introduction

SCP stands for Secure Copy Protocol. It is a tool that can be used to transfer files from a local host to a remote host, from a remote host to a local host, or between two remote hosts. In this article, we'll examine how to use SCP to copy

## Executing Shell Commands with Python

### Introduction

Repetitive tasks are ripe for automation. It is common for developers and system administrators to automate routine tasks like health checks and file backups with shell scripts. However, as those tasks become more complex, shell scripts may become harder to maintain.

Fortunately, we can use Python instead of shell

## Introduction to Bash

### Introduction

The most common interactions with a computer nowadays are done through a Graphical User Interface (GUI). Before GUIs existed, users would interact with a computer via shell programs, a Command Line Interface (CLI) to run other programs. Despite the ubiquity of GUIs, interacting with a computer via a CLI

## How to Permanently Set $PATH in Linux ### Understanding the$PATH Variable

In this tutorial, we will show you how to permanently set your PATH on Linux.

First off, why should you care?

The $PATH variable, or just PATH, without the$ indicating variables, specifies a list of directories that impacts your computing platform's functionality in a critical way.