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 address and mac…
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 error: Failed dependencies:…
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 RELASE DATE=11/11/2011 How…
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 correct command is…
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 Twitt me @…
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
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, Rajesh Kumar Twitt…
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, for eg. If…
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 a locally mounted…
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 commands. quit Quits…
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}’ ssh -q rajesh…
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 i in *…
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 with arguments which…
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, exit and execute…
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 opened already. This…
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 sticky but ensures…
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 add the following…
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 such as 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 a ssh attempt…
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 collection of shell…
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 a ssh attempt…
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 collection of shell…
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 for files with…
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 Twitt me @…
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 20 pmap Commands…
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 Parameter and Special…
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 script. Usually I…
Read more »