By default, shell prompt is displayed hostname and current working directory. It is composed of some variables called: PS1 – default value is \s-\v\$ . PS2 – default is > PS3 – is used as the prompt for the select command PS4 – default is + and value of this… Continue Reading How to change bash custom prompt ?

The command find is quite used to Linux. One of these uses is for finding files and folders that are empty. Finding empty files:

Finding empty directories:

Counting them is by using pipes, as in the examples below:

We can do the same for those which are not… Continue Reading Linux commands : “find” and the option “empty”

I will present two examples to generate an md5 hash from an input string. The first example uses the openssl.

The second example uses md5sum.

This is all.

LiSt Open Files (LSOF) is an excellent utility for managing and tracking network connections on your Linux system. This utility allows you to see what program is operating on an open port, which daemons have established connections, and what ports are open on your server. You can list open ports,… Continue Reading Linux lsof command.

In this tutorial, I show you the basics of the parse XML file and access website. Also, I show that with the graphical user interface (GUI) using Windows PowerShell. It is very easy to use a Web service in PowerShell V2. We can use that with the new Cmdlet New-WebServiceProxy.… Continue Reading Web service and XML with Windows PowerShell .

In this tutorial, I show you the basics of creating a graphical user interface (GUI) using Windows PowerShell The framework of libraries .NET also referred to as assemblies, are provided specifically for graphical user interface creation, web application development, business process handling, and database access, and more… WinForms is a… Continue Reading Creating GUIs with Windows PowerShell

I might encounter when I compile with code::blocks one C++ file.

You won’t get that error.

You need to make an explicit typecast: