Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: kl1ngac1k
2,163
Posted By kl1ngac1k
Help with date in bash script for loop from YYYYMMDDHHMM
Hi everyone

I need some help

I want to create an script which does some processing

it takes the two arguments 201901010000 and 201901020200 - so YYYMMDDHHMM

I want to split processing...
773
Posted By kl1ngac1k
cool one step closer: I want something like...
cool one step closer:

I want something like this

### ORA found in log: /app/logs/processing1.log
Starting
14:20:*
14:20:* some stuff
14:20:* ORA- error constaint voilated
14:20:* blabla...
773
Posted By kl1ngac1k
Hi guys is is there a possibility to include...
Hi guys

is is there a possibility to include the filename in the resulted report only for the log name if there contain such a lines ? thank you

will use the code block sorry about that
773
Posted By kl1ngac1k
Hi thank you so much :) awk '/ORA-...
Hi

thank you so much :)
awk '/ORA- error/' RS= ORS='\n\n' myFile and also awk '/^Starting.*Completed$/ && /ORA- error/' RS= ORS='\n\n' myFile does the trick pretty good but here awk...
773
Posted By kl1ngac1k
Extract repeating and check for for certain error message
Hi guys

I have an log from an regular application processing where the processing is done every 10 minutes and is written to the same log which is rotated on daily basis.

the block of log...
791
Posted By kl1ngac1k
Thank you so much that select is awesome, I...
Thank you so much that select is awesome,

I think the files can be handled much easier - ls -l | egrep ^- | egrep -v "*sh" | awk '{print $NF}'


added the PS3 variable + break since after one...
791
Posted By kl1ngac1k
Create dynamical from files in directory
Hello

I putting together a menu script for some processing operations and I want to do the following, was googling for some time, but can figure the following out.

Im in a folder lets say...
Forum: Linux 10-23-2011
3,455
Posted By kl1ngac1k
yes sure, as said, it usually works, when the...
yes sure, as said, it usually works, when the User $home is present
Forum: Linux 10-23-2011
3,455
Posted By kl1ngac1k
Forward X11 Putty+Xming without $HOME
Im trying to forward X11 from new servers by logging with NIS User, but no $HOME is mounted from NIS maps, this is how it was set-up.
I got Xming for X11 forwarding which works beautifully with...
3,172
Posted By kl1ngac1k
Hi, thank you su much thats working just awesome...
Hi, thank you su much thats working just awesome about the second awk part --> "awk -F\; 'BEGIN {FS=OFS=";"}NR==FNR {f1[$1] = $6; next} {print f1[$1],$0}' f1 f2 "is there some posibility to display...
3,172
Posted By kl1ngac1k
How to change value in CSV columns and compare two files where Column1 is identical
Hi all,

Could someone help me with the following issue:

1st
I have an CSV file delimiter is ";" I I have a column 7 where I need to do some multiple mathem. operation, I need all values in...
1,322
Posted By kl1ngac1k
Hi Im working on Linux RHEL/SLES but only...
Hi

Im working on Linux RHEL/SLES but only ssh, NO GUI
1,322
Posted By kl1ngac1k
Automount show aval. mounts
Hi all

I have an question about AMD daemon under unix.
We have an /share folder under folders mapped with NIS.

Now my question is
Im root I go to /share folder then enter ls -la it shows...
16,588
Posted By kl1ngac1k
txs for the coool tips for LSST manual is this...
txs for the coool tips for LSST manual is this valid,

Linux Shell Scripting Tutorial - A Beginner's handbook (http://bash.cyberciti.biz/guide/Main_Page)
16,588
Posted By kl1ngac1k
Book for Learning unix shell scripting reall good
Hi guys

I want o learn and understand shell scripting real good, Ive got already some background

Due to the fact that there is ton of books with these theme, can you recommend me some good book...
Forum: SuSE 02-08-2010
7,238
Posted By kl1ngac1k
SLES 10 SP2 possible kernel problem, / slowly filling up
Hello Guys

I first though about posting this to emergency but cause I fixed my issue with an reboot its not as important, more is important to me what caused this situation

Some facts:
OS:...
2,516
Posted By kl1ngac1k
Ok, just made the script working txs for your...
Ok, just made the script working txs for your help and working, the way I like it
Can you give me a hit what can I optimize of make it more beautiful?


#!/usr/bin/ksh
DATE=`date +%Y%m%d`
echo...
2,516
Posted By kl1ngac1k
is there a way to test in the loop if the file...
is there a way to test in the loop if the file exists?
2,516
Posted By kl1ngac1k
Omg, thats briliant men , txs a lot when I look...
Omg, thats briliant men , txs a lot when I look at the script I understand most of it except the statement while [ true ], can you explain
2,516
Posted By kl1ngac1k
until loop and read
Hi guys
what I wanna do is to create a script where can I input several times a file - assume with read function that will be inserted into a temp. file for further processing. When I press q I want...
Forum: SuSE 10-26-2009
30,989
Posted By kl1ngac1k
lvextend on ext3 resizing
Hi all

IM very curious about one thing
Im currently playing with a test server SLES x64 SP2, and I got to a serious issue which is really sorry for the word pissing me off. :mad:

I created an...
14,942
Posted By kl1ngac1k
Hi guys I had some nice HINT if you...
Hi guys

I had some nice HINT

if you have problems recieving attachments, make an entry in the script to change the permisions for the uuencode file

chmod 666, works on Solaris 5.8
4,149
Posted By kl1ngac1k
Hi vgersh99 Thxs a lot its working now :b:,...
Hi vgersh99

Thxs a lot its working now :b:, gonna try that out right this morning.

Can I ask why did it didnt worked my way?

Thank you again vgersh99
:D
4,149
Posted By kl1ngac1k
Hello in the mean time I have made some progress...
Hello in the mean time I have made some progress so this is how it should work

#!/usr/bin/ksh
set -x
homedir="/home/martin/test"
datum="2009.01.27"
premena=`cat ${homedir}/file1`
echo...
4,149
Posted By kl1ngac1k
Mailing files with, ls filtered with grep
Hi guys

Im new to forum so please dont be hard to me if I make any mistakes :)

I want to the following task:

1. I have a file lets say file1, which contains job names with numbers which...
Showing results 1 to 25 of 25

 

Featured Tech Videos

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