IT Knowledge Base

Technical Repository

HowTo: Linux Shell Scripting – Concatenate two variables with an underscore.

Wrap each variable in a curly brackets. #!/bin/bash _Directory=$/backups/ _FileName=$myfiles.bak echo ${_Direcotry}_${_FileName}) Output is: /backups/myfiles.bak

Read More


HowTo: Configure RedHat for ISCSI SAN Access

Install iSCSI Initiator Utils, Install Device Mapper Multipath and lsscsi # sudo yum install iscsi-initiator-utils # sudo yum install device-mapper-multipath # sudo yum install install lsscsi Find the name of the initiator server in the file /etc/iscsi/initiatorname.iscsi. In this example, the name of the server is iqn. # cat /etc/iscsi/initiatorname.iscsi InitiatorName=iqn.1994-05.com.redhat:46bf8e2794f Let’s change the initiator […]

Read More


HowTo: Find Linux Version

Kernel Version $ uname -a Linux localhost 3.11.0-3-generic #8-Ubuntu SMP Fri Aug 23 16:49:15 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Release Version $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu Saucy Salamander (development branch) Release: 13.10 Codename: saucy $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=13.10 DISTRIB_CODENAME=saucy DISTRIB_DESCRIPTION=”Ubuntu Saucy Salamander (development branch)” $ […]

Read More


HowTo: View boot messages behind the splash screen on Linux

Press AltĀ + D D stands for “Details”. Edit Grub to remove the splash screen. 1. Interrupt the GRUB by hitting the Esc key 2. Press e to edit 3. Remove the rhgb quiet at the kernel line 4. Press Enter and hit b to continue booting

Read More