Search Results

Search: Posts Made By: debu182
1,266
Posted By debu182
Finding Pattern
Hi,

i need some help regarding finding a pattern in files inside a direstory.

i have these files

abc123.txt
cemj111.txt
ckmem.txt
cmick.txt
crnnc.txt
montt.txt
xyz123.txt
dfd123.txt...
2,299
Posted By debu182
Thanks for replying. But is there any way,...
Thanks for replying.

But is there any way, so that i don't need to delete the existing lines.
As in # delete the string
sed 's|^\~/bin/chk_env.sh||g' $i > $i.tmp


Just to check if...
1,559
Posted By debu182
Check if the directory sc_ssp exist under...
Check if the directory sc_ssp exist under /work/nfs/nas2
1,094
Posted By debu182
thanks. the first line you wrote is just my...
thanks.

the first line you wrote is just my typo here.
the second line is just what i want..

:wall: i m just a noob
1,094
Posted By debu182
SED script
Hi ,

i am stuck in this simple script.

#!/bin/ksh
echo "enter the file name"
read flname
echo "enter version"
read ver
grep $flname /home/con/snsc/perl/map > flplist
dirname `cat flplist`...
8,822
Posted By debu182
uniq not working, so any alternate?
Hi,

I have these two files .


file1
/home/prog/bug/perl
/home/prog/bug/ant
/home/prog/bug/make
/home/prog/bug/gen
/home/prog/bug/tiff


file2
/home/prog/bug/make
/home/prog/bug/gen...
1,038
Posted By debu182
Need a one liner
abc/abc1/abc2/abc3/abc4


i need a script to pick this above path when ever
any patterns like the below will be found.


abc/abc1
abc/abc1/abc2
abc1/abc2/abc3
abc2/abc3/abc4
abc2/abc3/...
833
Posted By debu182
SSH problem
Hi ,
I have this piece of code.

for xyz in `grep "$envir $envtype" ~/user/Move/config/ProdEnvList|cut -d "|" -f11`
do
username=`cat ~/user/Move/config/ProdEnvList|grep $xyz|cut -d "|" -f7`...
4,225
Posted By debu182
Need to delete unwanted files!!!
Hi all,
i am just a beginner in shell. Need some code for my problem.

SCENARIO

I have 2 directories. Let A,B.
Everyday files from directory A are compressed and moved to B.(already got the...
Showing results 1 to 9 of 9

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