Process management in Linux

If you are working with Linux in text-mode, it is vital to know how to manage processes, terminate them, prioritize them, etc. In addition, process management is more crucial for system administrators which mostly manage servers. For example, they need to terminate the process which is in infinite loop in …

Socket programming in Linux with GCC

Linux is the paradise of programmers. It facilitates programmers with the numerous tools and flexibility. Programmers easily can develop and test their code in Linux freely. Linux has many compilers and programming languages which majority of them are freely available with good documentation, by contrast of Windows. This post demonstrates …

How to make simple Makefile

In programming is very necessary to compile the application quickly after applying some changes in your source code. In other words, after modification you need to compile your code again to test it to see is it working or not. It is obvious that just some parts of the code …

How to change runlevel in Linux

Basically, runlevel refers to preset operating state on a Unix-like operating systems. It means that in different runlevel various services can be activated based on the runlevel. If you want to change the current runlevel to something else it is easily possible in Linux command and with utilizing few commands …

Introduction to Audacious player

In Linux tunes of audio/video players available if they are not more than Windows they are not less. Back to years ago Linux suffered from shortage of good media player to support all codecs with user friendly interface. Fortunately todays in each Linux box you can find many media players …

Installing LAMP

LAMP stands for Linux, Apache, MySql, and PHP. Installing mentioned packages in Linux is not difficult task as some users think that it is complex and procedure involves in manipulating many text file which is haunting and exhaustive. In fact installing LAMP if is not simpler than Xampp or Wamp …

Listening to on-line radio in Linux terminal

Linux terminal has numerous abilities with using of different tools and applications. One of them is listening to on-line radio. This task is possible via utilizing either Mpg123 application or Mplayer. The procedure is really simple you just need to find “.pls” file and add the appropriate option to play …

Text-mode instant messenger with multi-protocols support

In Linux world every GUI application has the equal text-mode application as well. This time I was looking for text-mode instant messenger as a replacement of its GUI counterpart like Pidgin, Empathy, and Kopete. After doing some search on the internet I have found many text-mode instant messenger applications. So …

MenuetOS

Few years back when I was in college I had Assembly course which was about how to program in Assembly language. On that time I was excited about do further research about Assembly and its use in today programming. Accidentally I found an OS which was written totally in Assembly …

Singleton Design Pattern

Design pattern is a part of object oriented programming which sometimes is difficult to understand or find a logical reason to apply them. Overall, up to now design pattern was not that much useful for me and just makes my application really complex and in some extends difficult to understand. …

Some Basic SQL Queries

Today I was looking for a specific paper out of the huge bulk of my notes and I have found notes about SQL paper which I wrote them when I was in level one. Therefore, I organized the notes and prepare a short review of basic SQL queries here. I …

MySQL basic commands

MySQL database is tightly coupled with Linux and in many extends it cannot be separated from Linux in my point of view. In this post I want to describe about some basic commands of MySQL. Note that MySQL also has GUI in Linux but I prefer to work in command …

Java Email API

If you want to integrate email application in your java program or like me you want to reinvent wheel for curiosity, you can use Java mail API. This API is available on Oracle website and free to download. So you can download it and add to your application to facilitate …

Taking snapshot from Linux console (terminal)

Sometimes it happens that you need to take snapshot from your current console (shell) in Linux text-mode. The easiest and the handy way is, using fbcat application. In order to install fbcat on Ubuntu, type the following command in your terminal $ sudo apt-get install fbcat After installation easily you …

Text-mode twitter application

As you know Twitter is a type of social network, micro blogging and it is very famous. Since mostly I spend my time in text-mode and I also want to tweet something without switching to GUI, I found a great application for Twitter. The name of application is ttytter and …

Activate mouse in Linux console (terminal)

In regular Terminal application in GUI you can use mouse to copy/paste via mouse wheel or sometimes even you can click depends on the application you run. But in Linux console or simply in full text-mode by default mouse is not active and it has no use. If you want …