≡ Menu

FAQ

I'm trying to install latest version of Hewlett-Packard's Linux Imaging and Printing software (HPLIP) for my office jet printer. In order to install latest version of HPLIP I removed the hplip-gui, hplip, hplip-cups, hplip-data, hpijs, and hpijs-ppds Debian Linux packages However, I'm getting the following error:

Debian warning: CUPSEXT could not be loaded. Please check HPLIP installation.

How do I fix this error while installing hplip-3.12.9.run under Debian Linux 6.0.5 amd64 bit?
[click to continue…]

I'm using rsnapshot filesystem snapshot utility to make incremental snapshots of local and remote filesystems for 10 production servers running on RHEL 5.x system. The rsnapshot commands makes extensive use of hard links,

so if the file doesn't change, the next snapshot is simply a hard link to the exact same file. How do I use the rsync command to copy my the entire snapshot directory /raid6/rsnapshot (around 4TB) to a remote server?
[click to continue…]

Red Hat / CentOS Command To Find Dell Service Tag

How do I find out my Dell server service tag using command line under RHEL / Fedora / Red Hat / CentOS / Scientific Linux operating systems?
[click to continue…]

Linux / Unix: whoami Command Examples

whoami command

I am a new Linux and Unix system user. How do I listing my own username? How can I display my login name on Linux or Unix-like systems?
[click to continue…]

I'm using the date +'%D_%T' to store Unix system date and time in a shell variable called $_now:

_now="$(date +'%D_%T')"
echo $_now

Outputs:
01/20/12_16:10:42

I'd like to replace / and : with _. I'm aware of the following sed command:

sed 's/\//_/g
> s/:/_/g' < <<"$_now"

Outputs:
01_20_12_16_14_09

How do I specify two pattern within the same sed command to replace | and : with _ so that I can get output as 01_20_12_16_10_42?
[click to continue…]

How do I install nmap command under Debian or Ubuntu Linux based system for testing security of my own network?
[click to continue…]

Linux: Find Out My Machine (Host) Name

How do I find out my server name (machine name) under Linux operating systems using command shell?
[click to continue…]