Archive for the Linux Category

Page 1 of 212

[Linux] Delete all matching files current and sub directories

Today I am going to share a quick tip which will show you how you can delete certain matched files in current directory and it's sub directories. We are going to use wild card to delete all .exe files in a folder & subfolder. find . -name \*.exe -type f -delete #to delete all files which have .

Read Full Post

Spell check your documents from Command line in Linux

I know lot of people think that Unix/Linux has very less functionality, but the fact is Unix/Linux has all the functionality in it's core. It won't be wrong, if I say that other Operating Systems have copied some awesome stuff from Linux. Today we are going to see how you can spell-check a document

Read Full Post

Add PHP GD support to apache in Ubuntu Linux

PHP GD library is used to created images on the fly. This library is not installed or activated by default when you first install Apache on Linux. But GD library is used widely while developing websites. For eg. if you want to create a captcha image for a registration form, then you are going to use

Read Full Post

Use rfkill to Enable/Disable Wireless on your Linux Laptop

[caption id="" align="alignright" width="300" caption="Image via Wikipedia"][/caption] Imagine a situation when you have to book an air/train ticket in a jiffy, or check an important mail quickly and the only option you have is a wifi connection from either your smart phone or surroundings, and

Read Full Post

Restore GRUB in Ubuntu after installing Windows

So, you had Ubuntu (or any of its derivative) installed on your system and then decided to install Windowswith it? And after installing Windows, you can't load Ubuntu again, just follow the steps to get this working: Boot the system using a Ubuntu Live disk. After you reach the desktop, open T

Read Full Post

Recommended Linux Partitioning Scheme

Partitioning Basics: When we need to install linux on our systems, we need to partition our hard disk as we do for windows. In the case of windows, partitions are called as c: ,d:, e:, etc. But on linux they are represented in the form of following (there are many others, but these are the most ess

Read Full Post

Convert images into multiple extension

Tired of finding tools to convert the latest set of photographs which you lately shot ? Yes, while photography is fun converting the pictures into different formats can not be so fun at times. And that is why in this post we are going to share with you a script which converts images into multiple ex

Read Full Post

Change your crontab editor

Lately I have been messing around with cron jobs and apparently I used this utility called crontab. But on various servers I found that crontab opens the file in different editors. Some use pico, while others use nano. However, since I am comfortable using vi editor , so I found a way to make the

Read Full Post

Install Ubuntu on Windows using VirtualBox

Ever wished to experience Linux while you are on Windows operating system ? You probably have a hidden urge to experience it but you never did cause you do not want to mess up with the dual boot operating system. So the solution for this is to install a virtual machine inside your current operating

Read Full Post

How do I find a user’s UID or GID in Linux/Unix

In this post I am going to tell you, how can you find the User ID and Group ID of a user in Linux. You might require it when you scripting something on the OS level. We are going to use the id command to find the UID and GID of a user in Unix. To find a specific user's UID, goto the terminal an

Read Full Post

One click to end a non responding application in Ubuntu

Pressing "Alt + Ctrl + Del" in windows is a life saver when some programs just refuse to respond. Of course it opens a task manager which will show you the list of all the processes along with their memory , cpu consumption. You can select any process and can end it. However, there is no such inbu

Read Full Post

Create RSA and DSA keys for SSH

Private and Public keys are used to provide the logging mechanism into remote machines using SSH. These keys can be generated using ssh-keygen command. This can be done on any unix based systems, such as Linux or FreeBSD. To generate keys, type the following command in the terminal window. ssh-keyg

Read Full Post

Map shortcut keys in Vi editor

Lately I posted on how to show line numbers in Vi editor, but have you ever wishes that with a single key you are able to do much more in Vi editor ? For instance, toggle show/hide line numbers in Vi editor. Yes, it is possible with the .vimrc file to map keys so that they perform certain pre-def

Read Full Post

Show line numbers in vi or vim editor

Vi editor is the most used editor when editing files via command line or terminal. Vi by default does not shows the line numbers of the opened file. However, when you are editing large files it becomes difficult to edit them without line numbers. Especially when you are editing them after reading a

Read Full Post

Install FTP server on Ubuntu using vsftpd

In this post, we will learn how to install FTP server on a Ubuntu box. By default you cannot connect to your Ubuntu machine using FTP, but with the help of vsftpd this can be achieved. vsftpd, is an open source ftp server for Unix systems. Installation vsftpd is available as a ftp daemon in Ubuntu

Read Full Post

Page 1 of 212

Get Adobe Flash player