Weblog
Thoughts which doesn't affect the world's peace

Posts Tagged ‘bash’

List your hardware information

Tue ,09/04/2013

There are times whenever you plan to upgrade your computer’s (or server’s) hardware, but you don’t know or you forgot what you bought a year a go. There are few possibilities to get your information, although some comes as package with most of the modern distros, where others need to be installed from source or from external to your distribution repository.

(more…)

Using an SSH Config File

Fri ,16/03/2012

You can easily create short-cuts for servers you are using frequently, by creating a local configuration file for SSH. By using such configuration file, you can configure more advanced options for your SSH connections.

To do this, we will be using a terminal application (default available terminal application for gnome is gnome-terminal, of course you can use guake as well).

(more…)

Multiple shared IPs in cPanel reseller account

Thu ,15/03/2012

When you get a dedicated server, you have one main and shared IP address, which is being used by every non-reseller account for which you do not chose dedicated IP. There is no functionality in WHM which would allow you to have multiple shared IP addresses on the same account, but that is achievable via SSH and some editing of cPanel configuration files.

(more…)

Fast batch rename of files in bash

Thu ,16/12/2010

Whoever had to rename dozens of files in a folder knows how painfully slow that can be. Here is a one line bash script how to do this fast.

(more…)