Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: daveaztig14
5,951
Posted By daveaztig14
hi don, i have used your final code and...
hi don,

i have used your final code and changed that format of the date,

#!/bin/ksh
config='/home/abainzd/dave.conf'
log='/ats/1.0.0/pst/release/logs/events.log'
now="$(date...
5,951
Posted By daveaztig14
Hi don, im so sorry for being stupid and...
Hi don,

im so sorry for being stupid and stubborn on my posts.. sorry sorry sorry.. i trul am sorry.. and..

i remember what you told me in "appending" and in changing the directories of log so...
5,951
Posted By daveaztig14
Hi guys../don, im back and i need again your...
Hi guys../don,

im back and i need again your help. .sorry.. :(

#!/bin/ksh
config='/home/abainzd/dave.conf'
log='/home/abainzd/logfile.txt'

while read dir pattern
do bad_found=0
cd...
5,951
Posted By daveaztig14
Hi don, i followed all your suggestions and...
Hi don,

i followed all your suggestions and instrcutions and i work perfectly as i want.. THANK YOU VERY VERY MUCH for all the help.

i got the output that i wanted and thank you thank you...
5,951
Posted By daveaztig14
Hi R.Singh, followed your code ...
Hi R.Singh,

followed your code



tahnks.
5,951
Posted By daveaztig14
hi R.sings,
hi R.sings,
5,951
Posted By daveaztig14
Hi R.Singh, i have tried your steps.
Hi R.Singh,

i have tried your steps.
5,951
Posted By daveaztig14
Hi don,, i added fi on the last line...
Hi don,,

i added

fi on the last line and it works perfecrtly.. tahnk you so much..
5,951
Posted By daveaztig14
hi don, 1) sorry i forgot to mention that...
hi don,

1) sorry i forgot to mention that the log file should be created in /home/abainzd

thank you
5,951
Posted By daveaztig14
hi don, i understand and im refelcting all...
hi don,

i understand and im refelcting all of the things right now.. and im so sorry.. for all the change of post and directories and variable and all.. thanks a lot for your help.
5,951
Posted By daveaztig14
hi made in germany, thank you and i am...
hi made in germany,

thank you and i am trying your code right now. but can you check my script at post #26?. what went wrong or what is my mistake? super thank you so much for the help.
5,951
Posted By daveaztig14
hi don,
hi don,
5,951
Posted By daveaztig14
HI R. Sing
HI R. Sing
5,951
Posted By daveaztig14
hi don cragun, i tried using your code but...
hi don cragun,

i tried using your code but it resutls to

grep: illegal option -- q
Usage: grep -hblcnsviw pattern file . . .
File "*.edi" does not contain the string "davehandsome"


may...
5,951
Posted By daveaztig14
Hi R.Singh, i used your code but it doest...
Hi R.Singh,

i used your code but it doest results to anything.

forexample in home/solaris/unix/samplefiles/ directory i have files


dave1.txt
dave2.txt
dave3.txt
dave4.txt
dave5.txt
...
5,951
Posted By daveaztig14
Hi rudic, ok lets take it step by step.. ...
Hi rudic,

ok lets take it step by step..

im using unix solaros, kornshell.

for example i have a directory home/dave/solaris/unix/samplefiles
the default files has 1 word in common and that...
6,840
Posted By daveaztig14
Help on grep command
for example i have a directory

home/solaris/unix/samplefiles/

with defaults files in it.. those default files have 1 word in common "UNIX". how can i list the files without "UNIX" words in it...
5,951
Posted By daveaztig14
hi rudic,
hi rudic,
5,951
Posted By daveaztig14
korn shell (ksh) Ok ok. understood no pm to...
korn shell (ksh)

Ok ok. understood no pm to any moderator(s). noted.
5,951
Posted By daveaztig14
im so sorry for all the confusion and all my...
im so sorry for all the confusion and all my mistakes regarding my past posts. i hope you understand that im a beginner. but i am willing to learn and i am studying and learning these things.
...
5,951
Posted By daveaztig14
Hi RudiC, i have considered your script...
Hi RudiC,

i have considered your script earlier which is

while read DIR KW REST; do cd $DIR; echo invalid files in $DIR: $(ls !(.|..|$(grep -l $KW *))); cd ..; done < dave.cfg;
invalid files...
5,951
Posted By daveaztig14
Hi MadeinGermany, I;m so sorry but im...
Hi MadeinGermany,

I;m so sorry but im looking inside of each file. not just the file name, but your codes has given me some idea. Thanks a lot and hope you could help me more. :D

----------...
5,951
Posted By daveaztig14
i'm so sorry for the confusion. in exact i...
i'm so sorry for the confusion.

in exact i have 7 directories that i need to check. let me give an example.

first directory /home/banana and this directory has files which has "BANANA" word in...
5,951
Posted By daveaztig14
UNIX Shell Scripting (Solaris) for File Checking
Hi guys,

I'm sorry but i badly need your help. I am assigned to do a basic shell script in my job but sadly i don't have any idea on what it is because i am an electronics engineer, but i googled...
Showing results 1 to 24 of 24

 

Featured Tech Videos

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