Search Results

Search: Posts Made By: guruparan18
Forum: Red Hat 03-11-2010
2,334
Posted By guruparan18
USER denied login as OUT OF DISK SPACE
Hi,

I am trying to install Oracle 11g R2 on Oracle Enterprise Linux (5.4 version, which is basically some Redhat version).

I have created oracle user, when I tried installing, the installer...
47,892
Posted By guruparan18
Thanks to, Vivek and Karthigayan, for your timely...
Thanks to, Vivek and Karthigayan, for your timely help.
47,892
Posted By guruparan18
If the regex means 20100205 to...
If the regex



means 20100205 to 05-02-2010, then it is wrong. I am looking for 05-FEB-2010.
47,892
Posted By guruparan18
PERL String to Date (Custom format yyyymmdd to dd-mon-yyyy)
Hi All,

I am learning PERL for one of the projects, and in one of these scripts, I read a flat text file and print in the terminal.

The problem is, the text file has a date field. The format is...
1,740
Posted By guruparan18
What is $! ?
Hi All,

What is the meaning for $! in shell? I am trying to understand a script. And it has the following sequence of commands.

local@usr> a=1
local@usr> echo $a
1
local@usr> echo $!a
a

...
3,760
Posted By guruparan18
Contents of test.file 68A some text here 89B...
Contents of test.file
68A some text here 89B some other text here.
new line here, 12A on second line 34B
some lines may have 12B and 56F and 67C and so on 23

Now, I need to read each line,...
3,760
Posted By guruparan18
regular expression to match repeated appearance
Hi all,

I am looking for a regex syntax to match repeated appearance. Likes,

'[[:alnum]]+[[:alnum:]]+' matches for string '65A SOME MORE AND 78B'

Now, this gets messy if I need to extract...
11,510
Posted By guruparan18
Superb... It's great. I got it.... Thanks a lot...
Superb... It's great. I got it.... Thanks a lot your timely help Franklin
11,510
Posted By guruparan18
If possible can you explain the code too! It is...
If possible can you explain the code too! It is single line and almost it does my work perfectly. I wrote seven line code. [:(]

Thanks a lot.
11,510
Posted By guruparan18
Thanks Franklin... It works.. But. in <&nbsp>...
Thanks Franklin... It works.. But. in <&nbsp> place I need tab character. I tried. but with three or more lines and still I could not be successful.
11,510
Posted By guruparan18
Format Output with AWK command
Hi -

I have a file with contents as below.

12.1 a.txt
12.1 b.txt
12.1 c.txt
13.2 a.txt
13.2 d.txt
14.3 f.txt
15.4 a.txt
15.4 b.txt
15.4 z.txt

I need to print the...
1,331
Posted By guruparan18
Try this param_one=your_constant ...
Try this


param_one=your_constant
param_two=date

while read param_three
do
do_calculations_using $param_one $param_two $param_three
done < $your_file_name_here
9,231
Posted By guruparan18
Silly mistake.. Isn't it?! Thanks a lot...
Silly mistake.. Isn't it?!

Thanks a lot Dennis.
9,231
Posted By guruparan18
WRITE a message in console
Hi all,

I have a requirement, where I need to do some calculations and based on the results I need to write a message to the user from a shell script.

Is it possible to `write' inside the...
2,154
Posted By guruparan18
Same error
Still getting the same error. . .
2,154
Posted By guruparan18
Error with korn shell - arrays
Hi All

I have a FTP script which FTPs few files into an user folder. I intend to keep track of the folder size before FTP and after FTP and print that once the FTP script is run (a kind of...
1,862
Posted By guruparan18
If I am correct retVal will have lot of other...
If I am correct retVal will have lot of other values than "N".

Could you provide us the value of this line?
7,096
Posted By guruparan18
You want the script? Or you already have a script...
You want the script? Or you already have a script for this? You want to know how to run this every hour?

From your question it is unclear what you have and what you want to do. [:(]
2,194
Posted By guruparan18
Hmm... you need to write few lines (if not a...
Hmm... you need to write few lines (if not a script) for this.. Some thing like this..


n=0
n=`grep -n 'abc' $file_name | head -1| cut -d: -f1`
((n=n+4))
head -$n $file_name | tail -4
...
41,499
Posted By guruparan18
Modify the if condition from if [...
Modify the if condition from


if [ $char1 = [a-zA-Z] ]; then


to

if [ echo $char1 | grep [a-zA-Z] ]; then


This should work. Please check.
14,533
Posted By guruparan18
Have you tried $ diff filename1 filename2 ? ...
Have you tried $ diff filename1 filename2 ?

You might need to write a script to loop all the contents in a file if there is any change.
2,544
Posted By guruparan18
A footer for shell script
Hi

My question might sound crazy, but nevertheless, I have made mu mind to ask. Please ignore if I sound absurd.

I have a shell script. When run, this script, prints out a menu to the user and...
48,787
Posted By guruparan18
Heck!!! Got the following error. ...
Heck!!!

Got the following error.


Usage: grep -hblcnsviw pattern file . . .
grep: illegal option -- F


I have Sun OS 5.8 and KSH.
48,787
Posted By guruparan18
grep with special characters
Hi there

I need to grep for a detail from a file. The pattern to search for involves escape sequences in it. This causes for the problem.


grep "P\_SOME\_STRING\_SEARCH" filename


Note, I...
1,772
Posted By guruparan18
Is it possible to use teecommand here? I...
Is it possible to use teecommand here?

I tried and I didn't get any error (any results either), the command was,


find . -type f \( -ctime $noDaysOld -o -ctime +$noDaysOld \) |tee wc -l >...
Showing results 1 to 25 of 41

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