today's howtos
-
How to Use SCP from Windows to Linux
In the Linux Operating system, we use the SCP command to copy the files or directories from our local machine to a remote server or from a remote server to our local machine. It can also be used to transfer the files between two remote servers using your local machine. It is a very useful command line utility and comes in handy when we need to transfer our files securely. SCP is the short form of Secure Copy Protocol. This command uses SSH keys or Secure Shell keys for the secure transfer of data.
-
How to Schedule a Crontab Job for Every Hour
Sometimes, performing the same task again and again may become tedious. To automate this task instead of involving the assistance of humans, cronjobs are scheduled. Often, in Linux, the user has to run various scripts at the same time which becomes difficult to manage to reduce the workload of the user for executing the same task repeatedly. Cron is a utility that enables us to schedule the tasks according to our needs. Cron is a built-in utility which is provided by Linux. We don’t have to install it; we just simply schedule the tasks using some commands and files. Cronjob saves the time of the user by allowing them to manage their important task instead of repeating the same task again and again.
If we want to send the emails to our clients or customers every week instead of performing it manually, we can automate this task by creating a cronjob. It is a type of utility that works silently on the backend but does not involve any human interaction with it. It is a simple text file that includes the commands that have to be executed and the time at which it is to be executed.
-
How to Use the Cat Command in Bash
Practical guide on how to schedule a crontab job for every hour to run various scripts at the same time by scheduling the tasks using some commands and files.
-
How to Extract and Open a .GZ File in Linux Command Line
The GZ file extension is a zipped archive that follows the gzip compression method (GNU zip). The “.gz” format is designed to substitute the compressed formats on Unix-like operating systems. GZ compression is used to compress the webpages to reduce the page load time. GZ files can be opened and extracted using both built-in and third-party applications on any system. Here, we use the methods of extracting the “.gz” file on the Linux terminal. The prerequisite that is required to unzip the .gz files is that we just need the command line interface which is the Linux terminal and the graphical user interface access, as well as access to the “.gz” file itself.
-
Writing Macro in LibreOffice Impress: Getting Started
This simple tutorial will show how to create your first Impress presentation macro in LibreOffice.
Macro is used to automate various tasks from simple to complex. Like other macro tutorials for Calc spreadsheets, it is possible to automate Impress using Basic in LibreOffice.
-
LibreOffice Calc: How To Convert Numbers to Text
This tutorial will show you an example of converting numbers to words with a function in LibreOffice Calc. It works by translating number, say 1234, into English words one thousand two hundred thirty four. The function in question is NUMBERTEXT, that spells numbers, and MONEYTEXT, that spells money currencies, all with translations to multiple languages including Chinese, German, Japanese, Korean, and Indonesian.
-
How to Use the lsblk Command to List Block Devices on Linux
lsblk is a command-line utility used for listing block devices on a Linux system. Block devices consist of storage devices that hold data in the form of blocks, which are, typically, hard disk drives (HDDs) or solid-state drives (SSDs).
-
The Linux sleep Command - Tutorial and Examples
The sleep command is used to delay the execution of scripts or commands in Linux (and other Unix systems). In this beginner-friendly tutorial, we’ll show you how to use the sleep command on Linux and what it does, and we’ll include helpful examples.
You can use the sleep command on any Linux distro, including Debian, Ubuntu, Linux Mint, CentOS, and more. You can even use it on a Mac or other Unix-like systems. The command is available on all Linux distros, you don’t need to install it.
In this tutorial, we’ll show you how to use the sleep command in the Terminal/shell/ssh and bash scripts. So you’ll need Terminal access to a Linux distro or SSH access to a Linux server.