How To Permanently Change The Linux IP Address Manually?

Posted by Jay     Tags: , , 10 January, 2010    1,402 views    (0) Comment

You need to know what are the related or affected files for each change.These are the files related to change the ip and hostnames. 1. Setting the IP /etc/sysconfig/network-scripts/ifcfg-eth0 2. Setting the DNS /etc/resolv.conf /etc/hosts 3. Setting the Router /etc/sysconfig/network 4. Restart the network /etc/rc.d/init.d/network restart There are two ways to change it. First method is temporary method, second method is permanent Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,

Crontab – Quick & Complete reference Setting up cronjobs in Unix and Linux.

Posted by Jiltin     Tags: , , , 16 August, 2009    15,534 views    (8) Comment

What is crontab? cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. Crontab Restrictions You can execute crontab if your name appears in the file /usr/lib/cron/cron.allow. If that file does not exist, you can use crontab if your name does not Read Full Article (Click here)...

Categories : Scripts Unix Tags : , , ,

Linux/Unix: Simple Backup Command File – Very useful

Posted by Jiltin     Tags: , , 9 June, 2009    1,616 views    (0) Comment

It is often required to take a backup before you edit or modify you production system file. Too many edits make it a hassle to retrieve the correct files if you want to rollback. Hence, I have created a simple unix backup file that can be included in you bin directory to call every time. It is simple to say ( as the file name is bk ) bk .bashrc bk /etc/passwd That does every thing for me. #!/bin/sh #*******************************# # Jiltin Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,

How to set up SSH & SSH Trust for the beginners?

Posted by Jiltin     Tags: , , 5 May, 2009    5,086 views    (1) Comment

Introduction: This is a minimal set of instructions to get a beginner going with ssh2, in particular the client version of OpenSSH which comes on Linux distributions or on Windows via Cygwin. I’ve included a section to help you connect to machines which are not running OpenSSH but some commercial ssh. Since it covers both Linux and Windows it reflects the author’s bias and takes a command line approach: it assumes some knowledge of typing things at a command prompt (e.g., the Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,

Linux / Unix : Introduction to Korn Shell

Posted by Jiltin     Tags: , , 3 May, 2009    5,092 views    (0) Comment

GENERAL INFORMATION The Korn shell is an interactive command interpreter and command programming language. The shell carries out commands specified at the terminal or from a file. The Korn shell is backwards compatible with the Bourne shell and contains all of its features. In addition, some of the better features of the C shell are also included. GETTING STARTED The Korn shell is executed by the login program if it is your default shell, or by issuing the ksh command. When executed, the Read Full Article (Click here)...

Categories : Scripts Unix Tags : , ,