How to keep configuration files under version control with Etckeeper

How to keep configuration files under version control with Etckeeper

On Linux-based operating system the /etc directory is used to hold global configuration files for applications and services. A good set of configurations is really important for a good working system, so being able to keep track of changes and quickly revert them, in case something go wrong, is crucial. Etckeeper helps us achieve this goal keeping configuration files under version control.

Read more

Introduction to GNU R on Linux Operating System

Introduction

This article will deal mainly with the installation of R on Linux, but also will provide a simple example on how to use R for plotting. This is the first article of the series of R articles so subscribe to our RSS feed for regular updates. Everyone, who is interested in using R for their work or is simply interested in this software is invited to follow this series of articles. The main objective of these articles is to provide a quick reference to R with illustrative examples.

What is GNU R?

R is an open source programming language (software package) and environment used mainly for statistical data analysis. It is licensed under the GNU General Public License (GPL). R is a very intuitive programming language. You can do in a few lines of R code a lot, mainly because there is a large number of packages available for R, which means a large number of preprogrammed functions for you to use. You can get R packages through Comprehensive R Archive Network (CRAN).

R’s strengths are: graphical visualization of data such as plots, data analysis, statistical data fits.

R’s weaknesses are: complex structured data storage, querying data, dealing with large data sets, which do not fit in the computer’s memory.

Installing GNU R on Linux/Unix.

Package Management System

Debian / Ubuntu / Mint

On Debian like Linux systems such as Debian, Ubuntu or Linux Mint you can install R from standard repositories. This is a preferred way of getting R installed on your system. The command bellow will download and install R along with all its prerequisites:

$ sudo apt-get install r-base

Read more

Bash Scripting vs Shell Scripting

Bash Scripting vs Shell Scripting: Differences, Examples, and Comparisons

Bash scripting and shell scripting are essential skills for anyone working in a Unix-like environment. Although these terms are often used interchangeably, they refer to different scopes and functionalities. Understanding the nuances between bash scripting and shell scripting can significantly enhance your ability to automate tasks, manage systems, and write efficient code.

Read more

Install Eclipse Oxygen on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install the latest Eclipse IDE on Ubuntu 18.04 Bionic Beaver Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Eclipse Oxygen.2 IDE – 4.7.2

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Conventions

Read more

Example of simple bash script ftp client

If you need to use FTP to upload some files to a server every so often and want to save yourself some time, you can make a simple Bash script to transfer the files quickly. Rather than entering the username, password, and directory manually, we can get our Bash script to do this tedious legwork for us. In this tutorial, you will see an example script to make FTP transfers a cinch on a Linux system.

Read more

How to install PyCharm on Ubuntu 20.04 Linux Desktop

PyCharm is a graphical IDE (integrated development environment) that can be used to install pycharm on ubuntu Desktop. Many Python programmers enjoy using PyCharm because it can be used to analyze code, debug programs, and is integrated with Git and other version control systems, as well as web development applications. PyCharm is developed by JetBrains. It is free and open source, or at least the community edition is.

Read more

I'm Getting Permission Denied on My Bash Script

I’m Getting Permission Denied on My Bash Script: Causes and Solutions

Running into a “Permission Denied” error while attempting to execute a bash script can be frustrating, but it’s a common issue on Linux and Unix-based systems. This error typically occurs due to insufficient permissions, ownership issues, or improper script setup. Understanding why this happens and how to resolve it is crucial, especially when you’re managing scripts or developing automation tools.

Read more