Total 26 Posts

## How to Use the Rsync Command in Unix

### Introduction

The digital revolution has changed our lives in many ways. Nowadays, our picture albums, music collections, bookshelves etc. are all digital - binaries written on a disk. Our life and work are shared between a multitude of devices. Companies have development, staging, testing areas and dozens of developers connected

## 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

## Writing to Files Using cat Command on Linux

### Introduction

The cat command is a Unix tool used for manipulating and displaying file contents. The command gets its name from the word "concatenate" because it has, among other things, the ability to concatenate files.

In this article, we'll go through a few easy ways to

## How to Use the grep Command on GNU/Linux

### Introduction

Grep is a powerful, yet very simple tool. By default, it searches through an input and prints a single or multiple lines that contain text matched to a pattern specified in the command call.

Before grep became such a widespread tool for the GNU/Linux system, it used to

## 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