Linux Tutorials on the topic “programming”
-
Useful Vim editor plugins for software developers - part 1
Author: Ansh • Tags: linux, programming • Comments: 3
An improved version of Vi, Vim is unarguably one of the most popular command line-based text editors in Linux. Besides being a feature-rich text editor, Vim is also used as an IDE (Integrated Development Environment) by software developers around the world. What makes Vim really powerful is the fact that it's functionality can be extended through plugins. And needless to say, there exist several Vim plugins that are aimed at enhancing users' programming experience.
-
Installing Ruby on Rails on Ubuntu 14.04 - 15.10
Author: Antonio Valencia • Tags: linux, programming, server, ubuntu, web server • Comments: 8
Ruby on Rails, popularly called ROR, is a Ruby framework for web programming. Ruby is a general purpose language like C, Java. Ruby has been invented by Yukihiro “Matz” Matsumoto about a decade ago and has gained recognition with its Rails software library framework which provides a web development framework for the Ruby programming language. Listed below are easy to follow steps to install ROR successfully on the Ubuntu versions 14.04 LTS to 15.10 using Ruby Version Manager (RVM). RVM offers an easy way to install and manage multiple Ruby versions.
-
How to control peripheral ports: Accessing and writing on Parallel Port with C on Linux. Part I
Author: David Duarte • Tags: linux, programming • Comments: 3
This tutorial will show you how to control the pins of the parallel port of your PC on Linux from within a small C program. In this example, we switch just a few LED's on and off, but the same technology can be used to control relays to switch devices with high power consumption on and off for home automation.
-
-
How to trigger commands on File/Directory changes with Incron on Debian 8
Author: Till Brehm • Tags: linux, programming • Comments: 3
This guide shows how you can install and use incron on a Debian 8 (Jessie) system. Incron is similar to cron, but instead of running commands based on time, it can trigger commands when file or directory events occur (e.g. a file modification, changes of permissions, etc.).
-
How to Detect Network Devices with Python on Linux
Author: David Duarte • Tags: centos, linux, programming • Comments: 0
Sometimes you might have network or firewall issues in an internal that require a network scan to find which IP addresses are in use. For that purpose, we can use ready-made tools such as nmap, zmap or angryIP. But if we have no internet access to download these tools we can do the scan by only using manual commands. However, the manual scanning can be quite tedious, with the understanding that should be done for each IP address given on our network.
-
Vector Algebra on Linux with Python Script: Part 1
Author: David Duarte • Tags: linux, programming • Comments: 2
In this tutorial, we will discuss the vector algebra and corresponding calculations under Scientific Linux. For our purpose, I have chosen Python as the programming language for its simplicity and power of calculation. Any Linux distribution has by default a Python editor / compiler which is invoked through a terminal window. Let's go over some concepts of vector algebra.
-
Shell Scripting Part 4: Repetition Control Structures
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 0
Welcome to part four of HowtoForge's shell scripting tutorial series (Click here to read the part 1, part 2 and part 3 of the tutorial). In this lesson, we will cover the different repetition control structures of the bash shell and how to use each structure by providing some examples. Let's get started.
-
Shell Scripting Part 3: Decision Control Structures in Shell Scripts
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 4
We already covered the basics of shell scripting such as accepting inputs, process data through arithmetic operations and generating and displaying output in the previous series of this tutorial. In this series, we will go deeper to a more advanced topic in a programming language -- making decisions in a program, but this time we will do it using bash shell.
-
Shell Scripting Part I: Getting started with bash scripting
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 11
This is the first part of a series of Linux tutorials. In writing this tutorial, I assume that you are an absolute beginner in creating Linux scripts and are very much willing to learn. During the series the level will increase, so I am sure there will be something new even for more advanced users.
-
Shell Scripting Part 2: Accepting Inputs and Performing Shell Arithmetic
Author: jonilyn2730 • Tags: linux, shell, programming • Comments: 7
This article is the second part of the Howtoforge shell scripting tutorial series. By this time, I assume that you have read the first part of the series and know how to create a simple script and execute it. In the second part, you will learn how accept inputs from the user and process them through shell scripting.