≡ Menu

command line tools

How do I change the hostname of a Debian Linux system permanently using the command line tools?
[click to continue…]

AIX UNIX: Enabling Jumbo Frames

How do I setup jumbo frames under IBM AIX operating systems using command line tools?
[click to continue…]

I wish I had access to one of those nifty UNIX command-line tools under MS-Windows Vista or XP operating systems. How do I access UNIX command line utilities under Windows with out using virtualization?
[click to continue…]

HowTo: Check RAM Size In Ubuntu Linux

How do I check amount of RAM in my Ubuntu Linux laptop or desktop system/server using GUI and command line tools?
[click to continue…]

Q. How do I fix the following error under CentOS Enterprise Linux:

LVM error VG meta data inconsistent

How do I fix this problem?

A. You need to use lvm command, which provides the command-line tools for LVM2. In order to fix this problem boot your Linux into rescue mode or a single user mode:

First, you need to restore the VG Meta data, enter:
lvm vgcfgrestore VG

Now, you need to rescan for physical devices and vol groups (scan all disks for physical volume), enter:
lvm pvscan
lvm vgscan

Finally, make the volume group active, enter:
lvm vgchange -ay VG

For more information read lvm man page:
man lvm

Ubuntu Linux: Upgrade Linux Kernel

Q. How do I upgrade my Linux kernel version under Ubuntu Linux 7.04 / 7.10?

A. You can use any one of the following method:
(a) Command Line Tools - apt-get

(b) GUI tool

apt-get command - Upgrade Linux Kernel

Open terminal and type the following commands:
$ sudo apt-get update
Now search kernel version:
$ apt-cache search kernel-image
Now install kernel by explicitly specifying version number:
$ sudo apt-get install linux-image-2.6.xx-yy-generic
Replace xx.yy with kernel version number. Reboot the system.

GUI tools

This is recommended method for most user. Click on System > Administration > Update Manager > Click on Check button > Apply all updates including kernel.

I'm a new to CentOS Linux user. How do I create a file from bash prompt without using GUI tools?
[click to continue…]