Featured Story

Increase available disk space by decreasing the reserved blocks in extended filesytems ext2/3/4 using tune2fs

Have you ever noticed that after formatting a partition or external storage device - hard disk etc. into ext2/3/4 decreases the total available disk space by some amount? That's because the file-system reserves some part of the space to privileged processes. This is done to make sure that in case of file-system fill up, when user processes may not be allowed to write to disk, privilege system processes(or root user) may still be able to function properly(write on disk) e.g. syslogd etc.

All Stories

How to find out the filesystem type of devices and partitions on Linux

So, I was working on a system remotely over ssh and I had to find out what filesystem was a particular partition formatted into. The thing looks trivial, but if you have been using some GUI app for this, then it won't come easy if you are working on a console. The trick in such situations is to look into the commands that deal with stuff similar to what you want, i.e disks & partitions in my case. So, I went for df, & parted.

Wget Proxy: How to run Wget behind a Proxy server

Since, proxy servers are very common today - in companies, universities etc. almost all of the applications today have proxy support. As far as wget is concerned, there are two ways of doing so, either set the appropriate environment variables and wget will act according to them or configure the wget configuration file - wgetrc.

How to setup a home network with Internet sharing on Linux - Ubuntu/Fedora using Network Manager

Have you ever been in a situation where you are boasting about Linux in front of all your windower friends and then after getting bored of your long lecture someone asks you to shut up and create a network with shared Internet so that they can work on their sucky systems(according to you) atleast then, leaving you staring at the roof wondering, "how the hell is this done"? . If yes, then here is a solution.

How to crack zip file passwords on linux using fcrackzip

Remember the lame file/folder password protection trick we discussed yesterday? As it seems, someone pointed that out pretty well ;). We will get into the better protection schemes sometime later, lets see how to break the mechanism we used previously.

Different ways of Running Fortune command on a Graphical Interface

While I was writing about fortune a few days ago, I kept thinking how could this software be useful to a regular user. Almost everyone works on the graphical environment and although fortune is fun, but using terminal for it might not be favoured by everyone. So, I found some cool ways to get the fortune cookies on your Desktop(through web or system apps) and on your mobile phones (through RSS feeds).

How to install Nvidia driver on a Xen kernel, CentOS 5.5(Final)

We have already discussed the installation of Nvidia driver on CentOS. But this method only applies to regular kernels. Xen, the virtual machine monitor, requires you to install a modified linux kernel and guess what, nVidia officially doesn't support it. The regular installation is aborted when this kernel is detected and working without the driver is not possible because the performance degradation is unbearable(at least on my system). So, after some searching and trying out different methods, I finally found this work around to make nvidia drivers work on Xen kernels.

Fix for Nautilus' opening every folder in a new window on RedHat/Fedora based systems

I don't know why Fedora/Redhat have this default nautilus setting of opening folders in separate windows, but I hate this feature. Well, it could be because I have always worked on a single browser window but even after trying to get used to it, its really hard to work with the default mode. Its sleek but all it does is clutters the desktop. Every command opens a new window - Enter, Backspace; its irritating.

How to install Nvidia Driver on CentOS

So, I installed CentOS yesterday and I never expected but installing it was a pretty good experience. Since, its mostly used as a server, it asks you in the beginning what kind of work this machine would be doing - Servers(dns/http etc.), virtualization or others. Basically, marking the appropriate packages to install before hand. This went great, but when I finally logged into it system for the first time, the default graphics performance was terrible.

Wget Password: How to use passwords securely with wget

Before the Wget 1.12 version, in order to fetch the authenticated http/ftp pages, we had to provide the password in clear text which was quite insecure. Since that version, a new option, --ask-password, has been included which prompts the user to fill the password in a secure manner(hidden like unix passwd).

The exaile Mini mode

Because of its being light on resources, I prefer to use Exaile over amarok. The tray icon(top-right corner) works great in making it easily accessible on all workspaces with no need to mark the window "always on visible workspace". Yet, I always wished for a smaller version of the player, as powerful as exaile, but smaller. This is what Exaile's mini-mode aims to do. It bundles the whole full screen music player into a 1-2cm display.

Its time for Multi-touch on Ubuntu - uTouch for Unity

I guess most of us would have tried Ubuntu 10.10 aka Maverick Meerkat by now. This version was no doubt going to bring many new things but the one I was really looking forward to is the netbook edition. We have been looking at Shuttleworth's constant efforts to make the netbook edition more usable - Increasing vertical space by using a global menu, using a single panel instead of one, a whole new unity shell interface and a lot others.

How to Password protect files and folders/directories on Linux using zip

I have previously discussed a simple trick to prevent other users from accessing your personal data. To summarise, all we did there was change the file permissions and ownership to root, so that whenever someone tries to access the folder through your account (assuming non-root), the system will throw a permission-denied error. Here is another similar trick to compress the content and password protect it.

Get a Random fortune cookie using the Unix fortune command

I have been using linux for more than 3 years, but I still come across some old/legacy applications that I have never even heard of. This time I came to know about the legendary fortune command. All it does is throw some random fortune (quotation) from a huge database on your screen. Before coming to any conclusion about the software, try it out first .

Playing Music on CentOS using codec's installed on Ubuntu: My little experiment

A personal computer doesn't look really personal until it is able to play multimedia content. I started using CentOS to deploy Xen server but still, I need my music. Just like Ubuntu, due to licensing issues, it doesn't come with pre-installed codecs to play proprietary formats. And before installing them on CentOS manually, I thought what if I could use the ones installed on Ubuntu(which is on the same disk) to make it work. And people, it did .

Maintain a history of your copy/paste entries using Glipper, a Clipboard Manager for Gnome

There is always something useful available in the form of gnome-applets. Earlier, I wrote about  Deskbar, that lets you handle almost anything using a single text-box. Now, its this great clipboard manager, glipper, for all of those who(like me) have done the mistakes of overwriting something important they copied and wished for a way to switch to the previous copied text.

How to: Mount Remote Directories using sshfs

So, we had this lab last week, doing some hands on work on Xen. While performing a task, one of the requirements was to make the directory structure look exactly the same as the one on the remote machine. One way, was to manually change the directory contents - filenames etc. and make it look similar to that on the remote system(pathetic way ), the other was to mount it remotely(better way). Thats when I came to know about this really quick and secure way of mounting remote locations using sshfs.

Syndicate content