Search Results

Search: Posts Made By: raokl
Forum: Red Hat 06-01-2016
1,877
Posted By raokl
Alias ip & hostname
Hello Forum members,

I am new to the Linux administration and i have a question on the below requirement , requirement is as below

Create a new alias-IP & alias-Host name to the existing...
1,492
Posted By raokl
Hello RudiC, Thank you for the response , As...
Hello RudiC,

Thank you for the response , As per your suggestion i have tried below

grep -hr "[-[:alpha:]]*.xyz.com[[:alpha:]]*" $HOME/source/group/ | sort | uniq > $HOME/output.txt

I...
1,492
Posted By raokl
Recursively grep for a pattern and print that whole word
Hello Forum Members,

I am trying to write a script for a requirement where i have to recursively search for a pattern and replace it with the new string in run time from user inputs

grep -ohr...
3,632
Posted By raokl
Hi Lucas, Aswesome, It worked for me now...
Hi Lucas,

Aswesome, It worked for me now with your updated changes.

Thank you very much, I really appreciate all your help & gudiance on this.
3,632
Posted By raokl
Lucas- Thank you for the response , i am sorry...
Lucas- Thank you for the response , i am sorry for the delay in responding

your solution pefectly works

echo $a|awk '{for(i=1;i<=NF;i++){if($i~/[*?]/){printf "%s",$i;exit}}}' FS=','

but...
3,632
Posted By raokl
Hello Lucas, Thank you very much for your...
Hello Lucas,

Thank you very much for your reply

I am sorry for the typo error, the requirement should have to be

string a = "test1.props,test2.props,*,test3.props,?,test4,props"

so in...
3,632
Posted By raokl
Cut wildcard characters from a string
Hello All,

I have to write a shell logic inside my ANT Script , the data from my ANT is in the string like

string a = "test1.props,test2.props,*,test3.props,?,test4,props"

how do i remove...
2,184
Posted By raokl
Thanks a lot the command works but I am getting...
Thanks a lot the command works but I am getting an other error the basic idea of me using this script is to copy and back up the files , below is my entire code

#!/bin/ksh...
Forum: AIX 01-22-2011
7,960
Posted By raokl
find command modify the output
Hello All,

I am new to this shell scripting , I wanted to modify the output of my find command such that it does not display the path but only file names , for example I am searching for the...
2,184
Posted By raokl
Help With Find Command
Hello All,

I am new to this shell scripting , I wanted to modify the output of my find command such that it does not display the path but only file names , for example I am searching for the...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 03:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy