Verifying that the Secure Shell Daemon is running

rajeshkumar created the topic: Verifying that the Secure Shell Daemon is running To verify that the Secure Shell Daemon (sshd) is running you need to log in as root to…

Read more »

How to find success/failure status of a command in different shells?

rajeshkumar created the topic: How to find success/failure status of a command in different shells? Ksh/Borne/Bash shell $ ls /usr/bin …. # when success value is 0 $ echo $?…

Read more »

VIM custom settings.

rajeshkumar created the topic: VIM custom settings. Hi, I was required to set my tab to 4 space. I got some inputs and based on google search i found good…

Read more »

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 »