SMART (Acronym for Self-Monitoring, Analysis and Reporting Technology) can be found on all modern hard drives, allowing for the detection of conditions and the reporting of the times a unit can “fall” permanently. Smartmontools is a free multiplatform tool that uses the S.M.A.R.T. of hard drives to get informed about their status. With Smartmontools, a user or system administrator can...
BASH SHELL personalization of the prompt from the Linux terminal
Bash (Bourne Again Shell) is a superset of the Shell Command Language (SH) that allows for a lighter, more legible syntax that brings improvements. At baseline, a bash command or a bash script receives input data from a terminal, from a file descriptor or from a string, then runs and outputs output data. Linux distributions often use a classic prompt in the terminal, displaying the user name...
Systemback – Restoring a Ubuntu Server to a previous state in a few steps
I think I discovered the simplest backup method for a Ubuntu server which is Systemback. Sure, there is rsync, which does incremental backup, but it is more difficult to restore the server later. Systemback can back up and restore a Ubuntu-based system; it means it works on both Ubuntu Desktop and Ubuntu Server. I will just limit myself to describing its operation on Ubuntu Server. Systemback is...
How To Search Google using The Linux Terminal
Let’s suppose you are working in the terminal (change permissions, edit configuration files, etc.) and, to save time, you can search directly on Google without leaving the command line. The application for Google searching in the command-line is called Googler. It can be used as a standalone application, or in combination with a text-based web browser (example: Links). Googler is developed...
How to test the speed of the internet connection in the Linux terminal
Speedtest is the most widely used internet speed test tool. In graphic mode, it’s very simple to use. But Speedtest in the terminal? Yes, this is also possible: Linux has unlimited possibilities. What is speedtest-cli? The application is written in Python and measures the speed of the internet connection in bidirectional way, using the speedtest.net infrastructure. Speedtest-cli lists...
How to delete files older than a certain number days in Linux
Once we have automated a VPS server backup, it is unavoidable the fact that we will have to delete older files after a certain number of days. To avoid deleting them manually (which means connecting to the server, which can become tiresome), one line can be written in one of the scripts you use for the backup. The line is actually a find command with some advanced options: find /mnt/directory/ ...
What is LaTeX
TeX is considered by some to be the best solution for gathering text containing mathematical formulas, especially in the form of LaTeX and other templates. LaTeX Text is a document preparation system that allows you to issue data using the TeX programming language. Leslie Lamport created LaTeX in 1984 at SRI International and over time became the primary method for TeX programming. Due to the...
What is the Standard Query Language
Standard Query Language (SQL) is at the base of any relational database, including DB2 from IBM, Oracle, SQL Server from Microsoft and the MySQL open source database. Although in theory it has been standardized for 20 years, its implementations range from a relational database management system (RDBMS) to another, which is why some of the skills are not easily transferable from one case to...
What is GRUB
The boot loader or boot manager is a program that aims to load the computer’s operating system memory when the system boots. Most boot loaders are made up of several programs of relatively small size that are used in a particular sequence, with the purpose of loading the operating system. Among the most widely used boot loaders on the Linux platform is Loadlin, primarily used to allow Linux...
What is wget
Wget (also called GNU Wget Linux) is a non-interactive application for the Linux terminal helping us work with files and web pages. In fact, it is a program used for downloading files over the Internet, characterized by the lack of a graphical interface and a number of management features that are not typical for more modern solutions. The Croatian engineer Hrvoji Niksic developed the program...