Search Results

Search: Posts Made By: rish_max
1,647
Posted By rish_max
Read latest log files and perform database insert
Hi Experts,

I have a situation where I need to write a shell script to continuously monitor a log directory with multiple log files and perform following:

1. Read the latest log file...
6,155
Posted By rish_max
Hi Jotne, Thanks for the quick reply. I have...
Hi Jotne,
Thanks for the quick reply. I have used the command, but it is reading and display all contents of the given file. I only need the difference (delta) of the two files.
6,155
Posted By rish_max
Tail over rsync data
Hi,
I have written a shell script (that will be called in every 5 seconds) that used rsync to copy logs of our production server from server A(production) to server B (Dev), because we don't allow...
9,680
Posted By rish_max
Hey thanx friends.. This works for me Thanks a...
Hey thanx friends.. This works for me
Thanks a lott
:)
9,680
Posted By rish_max
deleting symbols and characters between two words
Hi
Please tell me how could i delete symbols, whitespaces, characters, words everything between two words in a line. Let my file is
aaa BB ccc ddd eee FF kkk xxx
123456 BB 44^& iop FF 999
xxx...
7,531
Posted By rish_max
Hi anchal, thanks for replying Actually i m...
Hi anchal,
thanks for replying
Actually i m very new to unix, therefore not able to figure it out how to do that. Can u please help me how could i do that?
Thanks
7,531
Posted By rish_max
sed: appending alternate line after previous line
Hi all,
I have to append every alternate line after its previous line. For example if my file has following contents
line 1: unix is an OS
line 2: it is open source
line 3: it supports shell...
13,340
Posted By rish_max
with "null" word
with "null" word
13,340
Posted By rish_max
awk{FIELDWIDTHS} replacing blanks with null
Hi, I am having a file and grabbed the contents of the field according to field widths. The command i used is:
awk 'BEGIN{FIELDWIDTHS="10 25 20 14 6 10"}{print$4,$5,$6}' newtext.text >test1.txt
i...
7,259
Posted By rish_max
Hi, Thanks a lot.. this works for me :)
Hi,
Thanks a lot.. this works for me :)
7,259
Posted By rish_max
Thanx for quick reply, but it doesn't work for...
Thanx for quick reply, but it doesn't work for me.
I rephrase my problem:
Every row in a file should have 5 seperate columns in which values are tab seperated.
and there are some blank values, say...
7,259
Posted By rish_max
Shell script for converting file contents into CSV
Hi, I am new in unix,
I just want to replace some values from text file according to column numbers. Like, I am having a table as given below:

val1 val2 val3 val4 val5
val6 ...
Showing results 1 to 12 of 12

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