UNIX & GNU/Linux - SSH - Communication between client and server

In this tutorial we are going to see how two computers can communicate with each other through the SSH protocol. Why do we need SSH keys and how to use them? We will use one computer as Server and another one as Client. First of all Ubuntu 18.04.01 (LTS): https://www.ubuntu.com/ openssh-server: directly from Ubuntu (more details in the tutorial) Before starting we need some useful tools that we are going to install on Ubuntu: ...

January 17, 2019

UNIX & GNU/Linux - SSH - Generating the public and private keys with a CLI

Using SSH is helpful in many situations. But before using it, it’s essential to have the famous public and private keys. This SSH tutorial is for Windows and Linux users but feel free to inspire yourself for another operating system. Let’s see that. First of all In this SSH tutorial we are going to use a CLI (Command Line Interface). I’ve chosen Git Bash but of course you can use the CLI of your choice (Cygwin for example) on Windows or simply your usual terminal on Linux. ...

June 29, 2017

UNIX & GNU/Linux - Kernel - Hello world Linux kernel compilation

If you read this tutorial it’s because you are curious about how to compile a Linux kernel. There is plenty of reasons you might want to learn this procedure. Even if you are a beginner, you will understand each step for building your first Linux kernel. First of all To compile a Linux kernel, you have to have a Linux distribution installed on your computer. So if you don’t know how, I recommend to start by using a virtual machine, such as VirtualBox. ...

December 12, 2016

UNIX & GNU/Linux - Gentoo - Basis for setting it up

In the Linux world, there are two types of distributions. First the monolithic ones, such as Ubuntu, where you don’t have to set anything before using it. Everything (or almost) is included to begin. Second, the specific ones, that on calls meta-distributions, where you have to select only packages and options you want to have. Of course, the first is easier to use for a current usage but there is no optimization at all. ...

December 11, 2016

UNIX & GNU/Linux - bash - Setting a profile with the Git prompt

You have downloaded and installed your Git Bash on Windows. That’s a good thing. But if you want to change your prompt as your favorite one, you have to create a file and add your own settings. Let’s see this. First of all After downloading Git bash and installed it, if you launch it you’ll have a classic prompt. To have something different, you have to create a new file .profile to override the default settings. ...

November 6, 2016

UNIX & GNU/Linux - Raspberry Pi - Set up for a connection with a desktop PC

Since its launch, the Raspberry Pi has a very huge impact in the world. You have certainly one in your hands but maybe you don’t really know how to use it. In this tutorial, we are going to see how to send commands directly from your PC without having a specific screen, keyboard and mouse connected onto the board. It’s totally possible! For that the only thing to have is an Ethernet cable connected to your network. ...

October 16, 2016

UNIX & GNU/Linux - Tips and tricks - Having more than 4 workspaces with Ubuntu 13.04

With Ubuntu 13.04, you certainly found out that there is, by default, only one workspace. If you want more, there are solutions. First of all enable workspaces, then change (if you want) the number of workspaces. Let’s see this in this tutorial. Where to find it? Click Settings > Appareance > Behavior > Enable workspaces. You have now 4 workspaces. But if you want more you have to install ccsm, the CompizConfig Settings Manager. ...

June 2, 2013

UNIX & GNU/Linux - LAMP - Installation

For a reason or for another, you need a server. You could install Apache, why not? But you want more! You want Apache2, PHP and MySQL in a bundle. For the same price we’re going to add phpMyAdmin. Let’s see how to install LAMP and phpMyAdmin in this Ubuntu tutorial. LAMP: Linux, Apache HTTP, MySQL, PHP We have to download and install LAMP with the following command line in our terminal: ...

March 4, 2013

UNIX & GNU/Linux - Tips and tricks - Installing Google Chrome on Ubuntu

What would we do without Google? Who knows. But this is not the question. In this tutorial we will see how to install Google Chrome on Ubuntu 12.04. It may seem easy like that, but it isn’t. And I’m a bit surprise about that. But anyway, let’s see this. Downloading Open your favorite terminal and if you have a 64-bit OS, type this: wget https://dl.google.com/linux/direct/google-chrome-stable\_current\_amd64.deb If your system is a 32-bit (or if you don’t know) you have to type this: ...

March 2, 2013

UNIX & GNU/Linux - awk - Count number of words in a file and check a name in another

In this awk tutorial we’re going to see how to count words in a file and display it. And in a second time, we will see how to check if a name, inside a file, is present in the first file. Let’s check it. Explanation In the BEGIN pattern we specify the separator with the FS builtin variable. In our case, it will be the default one, the space character. ...

October 27, 2012