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:
find . -type f -empty
Finding empty directories:
find . -type d -empty
Counting them is by using pipes, as in the examples below:
find . -type f -empty | wc -l
find . -type d -empty | wc -l
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.
$ echo -n 'text to be encrypted' | openssl md5
The second example uses md5sum.
$ echo -n 'text to be encrypted' | md5sum
This is all.
The error is this:
Error getting a Request Token: Cannot connect to proxy ()
To solve this you need to do these steps: Under System Settings->Network->Network proxy – this is under online Accounts on the same menu, switching to None will solve this error
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.
warning: deprecated conversion from string constant to 'char*'
You need to make an explicit typecast:
char *AppTitle=((char *)"Windows-1");