Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: lohith.dutta
653
Posted By lohith.dutta
hi Hypesslearner,...
hi Hypesslearner, (https://www.unix.com/members/302160660.html)
Can you please share some input and desire outputs also please refer some example naming convention you are using ?
566
Posted By lohith.dutta
How to Simulate parallel-ssh with variables ??
alias n-001='ssh hst-net-001'
alias n-002='ssh hst-net-002'
alias n-003='ssh hst-net-003'
alias n-004='ssh hst-net-004'

alias p-001='ssh hst-proxy-001'
alias p-002='ssh hst-proxy-002'
alias...
725
Posted By lohith.dutta
Hi cmccabe, Don is absolutely right. ...
Hi cmccabe,

Don is absolutely right.
However, you can try this if it helps
sed -n 's/^\(@HD.*\)@RG.*/\1/p' file.txt
1,005
Posted By lohith.dutta
hope this 'll help work for you cut -d'|'...
hope this 'll help work for you

cut -d'|' -f2 file |sort | uniq -c


--Lohit
5,414
Posted By lohith.dutta
hope this might help you :) find . -type f...
hope this might help you :)

find . -type f -name "*.zip" > /myhome/ZIP/FILE_LIST
cd /myhome/ZIP/
for I in `cat FILE_LIST`
do
cp ${I} ${I//\//__}
gunzip ${I//\//__}
done
777
Posted By lohith.dutta
as Cargun said .. you can write the same case...
as Cargun said .. you can write the same case statement as below ...
INDir=/ftpland/RPDX/MDM/${RunMode}
ARCDir=/ftpland/RPDX/MDM/${RunMode}/archive
OUTDir=/apps/MPI/empi/inbound/drop ...
1,128
Posted By lohith.dutta
your_output | awk -F'=' '{print $1}'
your_output | awk -F'=' '{print $1}'
913
Posted By lohith.dutta
could u plz redirect the output to two different...
could u plz redirect the output to two different files and past the sample contents of those two files ?

./build update > update ./build versions > versions
$ head update versions

thanks....
1,256
Posted By lohith.dutta
thank you very much guys :)
thank you very much guys :)
1,256
Posted By lohith.dutta
Perl equivalent substitution
hi Geeks,
my input file contains data like =>
[Songspk.name] 53 - Deewana Kar Raha Hai.mp3
[Songspk.name] 54 - Hale Dil.mp3
[Songspk.name] 55 - Ishq Sufiyana.mp3
[Songspk.name] 56 - Abhi Kuch...
866
Posted By lohith.dutta
guys thanks for your quick response, but the...
guys thanks for your quick response, but the problem here is each string contains front slash (/) and I have to replace all the lines through script in couple of servers together
..

----------...
866
Posted By lohith.dutta
String replace need help ..
hi Geeks ,

I need your helps to replace /etc/fstab file entries with some new entries .. using any tool either sed or awk ..

old entry --->
new entry
...
11,925
Posted By lohith.dutta
ywc ::) while you use variables in awk within...
ywc ::)
while you use variables in awk within script .. double quotes are essential to interpolate those variables..

I think xrags-awk combination will b the smart choice ..what do u say guys...
11,925
Posted By lohith.dutta
Sandhya, try to change ur code with double...
Sandhya,
try to change ur code with double quotes and let me know ..
awk "/${CLIENT_NAME}-/{print}"
826
Posted By lohith.dutta
could u plz try this ..... sed -n...
could u plz try this .....

sed -n '/^Complication/s/..$//p' input
11,805
Posted By lohith.dutta
I think this may help you: ls *pattern* |...
I think this may help you:

ls *pattern* | xargs rm -rf {}
5,764
Posted By lohith.dutta
hope this might help you: cat <filename> |...
hope this might help you:

cat <filename> | sort -rn | head -5
1,302
Posted By lohith.dutta
date '+%d-%m-%Y'
date '+%d-%m-%Y'
4,241
Posted By lohith.dutta
try it once and let me know ur feedback ..
I hope it will help you to solve the summation part and I believe comparison part you can do it yourself :-)
redc=(3 6 2 8 1)
work=(8 2 11 7 9)

function sum {
local sm=0
local...
Forum: Solaris 12-02-2011
11,887
Posted By lohith.dutta
Corona.. , yeah, I m planning to write a shell...
Corona.. ,
yeah, I m planning to write a shell script to login almost 40 different different servers each & every execution .. so in that I don't wish to create ssh key for all those 2000 servers .....
Forum: Solaris 12-02-2011
11,887
Posted By lohith.dutta
How to install SSHPASS on Solaris ???
Could you please let me know the steps: how to install sshpass command tool in solaris any version greater than 8.
Showing results 1 to 21 of 21

 

Featured Tech Videos

All times are GMT -4. The time now is 11:21 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy