Linux

Switching to a graphical login on RHEL6

This is a short post on how to install the necessary components to get X Server running on a bare bone RedHat 6 Enterprise Server (CentOS6) installation. The following commands should be run from a console window as the root user. Install barebone X support # yum groupinstall “X Window System” Install X and the […]

Read More
Linux

How to corrupt a disk partition using dd

I wanted to test corruption of a 41TB XFS filesystem and the dd command was the perfect tool for the job. I used a block size of 512 bytes and wrote 10 blocks of data from device /dev/urandom to the partition /dev/sdb1. The “Seek” option specifies how many blocks are skipped, counting 100 blocks from […]

Read More
Linux

Fix low volume issue in Ubuntu 11.04

This post is a short howto to fix/workaround the problem with low volume in some Ubuntu 11.04 installations. The fix for me was to open a console window (as the user I’m logged in with) and start the alsamixer # alsamixer You will then see the alsamixer window. Use the left/right arrow keys and choose […]

Read More
Windows

Windows grep command alternative

grep is a linux console command to print lines matching a line, but Windows does not have the grep command. In Windows you have to use the findstr command in a console window. Example C:\>dir |findstr Windows 13.09.2011 10:41 Windows The findstr command is default case sensitive just like in linux. findstr options C:\>findstr -? […]

Read More