There are a lot ways to take screenshot in Linux. scrot is a very useful command-line tool for taking screenshots. scrot is pre-installed in most Linux distributions. When it is not installed, just run the basic installation command in your terminal. For Ubuntu: $ sudo apt-get install scrot How do you use scrot to take […]
Yii is an open source, fast, secure and as well as high performance PHP framework used for developing large-scale web applications. In this walk-through let us learn how to install Yii on Ubuntu/Debian and its derivatives. Install Yii On Ubuntu I tested this under Ubuntu 12.10 Server, although it will work on Ubuntu/Debian new editions. […]
chkconfig command is used to start, stop and view the status of all services running on the system. It allows you to display and change the services on your system at all levels. Let us see some basic commands in this short how-to.
The “top” command provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel. The types of system summary information shown and the types, order and size of information displayed for processes are all user configurable and that configuration can […]
Have you ever wondered if there is a simple way to copy files and run commands on multiple machines from one command? Well there are several tools available that will allow us to do just that, but for starters we will discuss just pssh (Parallel SSH). pssh (Parallel SSH) pssh (Parallel SSH) is a command-line […]
The Raspberry Pi is a great device with many possibilities and one such great use is as a NAS server for your LAN. The Raspberry Pi by itself is limited by the space it can offer so you will need to add a USB SATA storage device like the Thermaltake BlacX attached to the Pi […]
A dictionary is a container that stores Python objects and each item of the dictionary consist of a key and value. Python dictionaries are also known as associative arrays or hash tables. Curly brackets distinguish a dictionary from other objects. The following example shows a dictionary with three items. Figure 1 Items in a dictionary […]
What are lists in Python? Lists are one of the six built-in types of sequences in Python programming language. A sequence is the most basic data structure in Python programming language and each element of a sequence has its own index. The first element has the index 0, the second has the index 1 and […]