How to Use the Command Prompt in Windows : In this part we will see how to use the command prompt on windows with some examples. Overview The first command prompt created by Microsoft was MS-DOS. MS-DOS is an operating system created in the 1980s. It was a widely used system in the 80’s to… Continue reading How to Use the Command Prompt in Windows
Category: Bash/Shell
Bash if else Statement With Examples
Overwiew In this new tutorial we will learn how to use Bash conditions and how to use them in your different shell scripts. Conditions are one of the fundamental concepts in programming. It also allows you to execute or not execute a piece of code depending on the conditions you define. This makes it possible… Continue reading Bash if else Statement With Examples
Curl Follow Redirect
Curl Follow Redirect : In this article, we will talk about the cURL utility. cUrl is a program that can send HTTP requests via the command line, which is useful for many things (like downloading files, publishing data through a Rest API for example…). Redirection HTTP HTPP servers often return a redictection for a requested… Continue reading Curl Follow Redirect
YUM Install Specific Version of Package
Yum uses repositories, which are, as the name suggests, repositories that hold a set of software. Each repository must be added to Yum’s configuration to be used. By default, yum installs the latest version of a package from all versions available in the enabled repositories. For some of your projects, it is interesting to install… Continue reading YUM Install Specific Version of Package
Executing shell commands in python
Executing shell commands in python : When working with python, it is sometimes necessary to execute shell/bash codes directly from the python script.In this article, I’m going to show you several methods to do this directly from its python code. The simplest way: Using the OS module The first method to execute a shell command… Continue reading Executing shell commands in python
Python install matplotlib
Python install matplotlib : Matplotlib is a package that is very useful for creating 2D or 3D graphics, which is highly sought after in scientific publications. Some examples of graphics made with matplotlib : How to install matplotlib ? 1. Install Matplotlib with the Anaconda Prompt To be able to use this method you need… Continue reading Python install matplotlib
Pip install specific version of a package
Pip install specific version : How to install a specific version of a package ? Pip is the most popular tool and command used to install third party packages in Python (version 2 and 3). In this tutorial, we will learn how to install a specific version of a Python package with the pip command.… Continue reading Pip install specific version of a package