Finding the MAC Address of Remote Computer using ARP and GETMAC comman

rajeshkumar created the topic: Finding the MAC Address of Remote Computer using ARP and GETMAC comman 1. Single subnet network ping arp -a it displays remote ip…

Read More

sshpass error while compilation

scmuser created the topic: sshpass error while compilation I am getting following error while compilation…any clue???? sshpass-1.05-1.el6.x86_64.rpm warning: sshpass-1.05-1.el6.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895…

Read More

String manipulation exercise

mnanjala created the topic: String manipulation exercise Hi Guys, Say there is a text file inject.dat, it has 5 entries as below PKGNAME=Project-debug OLD_VERSION=1.0.0 NEW_VERSION=1.0.1 PRODUCT NUMBER=1…

Read More

Linux Tutorials: Find Command Examples and Use scnario

rajeshkumar created the topic: Find Linux Command Collection Find files modified in the last 48 hours, and in current folder and one level below I believe the…

Read More

Change Host name in RHEL

rajeshkumar created the topic: Change Host name in RHEL Change Host name in RHEL Changes should be made in the following files. /etc/hosts /etc/sysconfig/network Regards, Rajesh Kumar…

Read More

OpenSSL Command-Line HOWTO

rajeshkumar created the topic: OpenSSL Command-Line HOWTO I found very good url for OpenSSL Command-Line HOWTO. www.madboa.com/geek/openssl/#intro-commands Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn Rajesh KumarI’m a…

Read More

Vi command to copy paragraph

rajeshkumar created the topic: vi command to copy paragraph vi command to copy paragraph “ty} copy text from cursor to end of paragraph into buffer “t” Regards,…

Read More

Write script to print given number in reverse order, for eg. If no is

scmjobs created the topic: Write script to print given number in reverse order, for eg. If no is Write script to print given number in reverse order,…

Read More

ShellScript to monitor available disk space on AIX

tpatil created the topic: ShellScript to monitor available disk space on AIX #!/bin/ksh # This script monitors available disk space. # This script emails an alert when…

Read More

Linux Tutorials: ftp commands examples

rajeshkumar created the topic: FTP commands for Linux / Unix How to Login – ftp rajesh-servers Basic Commands help or ? Displays a list of all FTP…

Read More

Df command usage

rajeshkumar created the topic: df command usage Filesystems using more than 90% capacity df -hP | awk ‘{x=$5;sub (“%”,””,x)}x>75’ df -h | awk ‘{if(NF==1){x=$0;getline;if(int($4)>90)print x,$0}else if(int($5)>90) print}’…

Read More

Frequently Used Shell Script

rajeshkumar created the topic: Frequently Used Shell Script Shell scripts to convert file names to lower case and upper case To convert to lower case: #!/bin/sh for…

Read More

Linux Tutorials: Commands to send an email in Linux

rajeshkumar created the topic: Various Commands to send an email in Linux Sending mail To send a message to one or more people, mailx can be invoked…

Read More

Setting the tab in Vim

rajeshkumar created the topic: Setting the tab in Vim Setting the tab in Vim $ sudo vim /etc/vim/vimrc Then add the following line: set tabstop=4 Next, save,…

Read More

Recovering a Recently opended deleted files

rajeshkumar created the topic: Recovering a Recently opended deleted files Recovering a Recently opended deleted files By using lsof, you can recover a deleted file that was…

Read More

Securing a directory

rajeshkumar created the topic: Securing a directory Securing a directory Here is a tip that uses the sticky bit feature of Linux to secure a directory. A…

Read More

Changing port of ftp and ssh

rajeshkumar created the topic: Changing port of ftp and ssh Changing port of ftp and ssh To Change the port of ssh, edit the file /etc/ssh/sshd_config and…

Read More

Make your pendrive bootable

rajeshkumar created the topic: Make your pendrive bootable Make your pendrive bootable if you can not boot from the DVD/CD-ROM drive, but can boot using USB device…

Read More

How to check ssh is working with public key / private key

rajeshkumar created the topic: How to check ssh is working with public key / private key Code – ssh serverhostname -o ‘BatchMode=yes’ -o ‘ConnectionAttempts=1’ true Every time…

Read More

Must have collection of shell script for any SCM admin

rajeshkumar created the topic: Must have collection of shell script for any SCM admin Hello Guys, In a busy schedule of SCM jobs, everyone must have a…

Read More

How to check ssh is working with public key / private key

rajeshkumar created the topic: How to check ssh is working with public key / private key Code – ssh serverhostname -o ‘BatchMode=yes’ -o ‘ConnectionAttempts=1’ true Every time…

Read More

Must have collection of shell script for any SCM admin

rajeshkumar created the topic: Must have collection of shell script for any SCM admin Hello Guys, In a busy schedule of SCM jobs, everyone must have a…

Read More

Create a script haven’t been accessed for a week, then delete them

rajeshkumar created the topic: Create a script haven’t been accessed for a week, then delete them Create a script for a cronjob that checks a special directory…

Read More

Questions to test your linux shell Script

rajeshkumar created the topic: Questions to test your linux shell Script www.scmgalaxy.com/index.php?option=com_k…34&id=427&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=426&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=425&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=424&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=423&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=422&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=419&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=421&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=420&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=418&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=431&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=430&Itemid=442 www.scmgalaxy.com/index.php?option=com_k…34&id=428&Itemid=442 Regards, Rajesh Kumar…

Read More

Linux Tutorials: Complete Reference for Commands & Scripting

Linux User Commands Linux Commands for User Linux Commands reference in scmGalaxy forum Linux Admin Commands Linux Commands for Administrator Main Responsibilities of the Linux System Administrator…

Read More

Understand Shell Script Parameters – Reference

A parameter is an entity that stores values. It can be a name, a number or some special characters. Bash shell provides two kind of parameters. Positional…

Read More

How to read XML file by using shell script ?

This was like the first time where I had to write something that will be able to read something out of a XML file using a shell…

Read More