Search Results

Search: Posts Made By: PradeepRed
6,807
Posted By PradeepRed
Formatting Problem
Hi
Suppose we have a file consisting of nos in following format

123 - 789
123 - 828
345 - 989
345 - 792

I require the following output

123, 789,828
345, 989,792
Means Unique nos in...
Forum: HP-UX 03-15-2007
2,597
Posted By PradeepRed
Help Reqd
Hi

I am facing the problem where my HP Unix system date is in accordance with the current date but the logs written by the same is of previous time stamp.

Eg. System Date - Thu Mar 15 18:00:04...
4,215
Posted By PradeepRed
Yup file command works fine. :) Thanks
Yup

file command works fine. :)

Thanks
4,215
Posted By PradeepRed
Character Sets
Hi

I was just wondering if there was a way in which i could find out the character set used in a file in HP-UX. ie Whether it is Unicode, UTF-8,ascii etc.

Regards
2,710
Posted By PradeepRed
Hi I tried your suggestion S. but it didn't...
Hi

I tried your suggestion S. but it didn't make any difference.
Perdarbo i am running my script in ksh. Like i said, if i run it line by line on the command line, it works perfectly well....
6,366
Posted By PradeepRed
chmod -R {permissions}
chmod -R {permissions}
2,710
Posted By PradeepRed
Ksh problem in script
Hi

I made a small script which uses ksh.



When i run the script then i get the following error



However when i run each of the commands on the commandline they get executed and...
2,116
Posted By PradeepRed
Thanks a lot folks Both the queries worked....
Thanks a lot folks

Both the queries worked. I really need to brush up on the awk command. This is the second time where a one line awk command has bailed me out where i had spent hours using some...
2,116
Posted By PradeepRed
Computation Problem
Hi Folks

I have a file with the following sample input
919416586748,1200,31200
919416283619,3521,33521
919416811900,2440,64940
919416576012,13670,43670

Now i want to subtract the second...
43,278
Posted By PradeepRed
egrep "pattern1|pattern2|.....|patternn"...
egrep "pattern1|pattern2|.....|patternn" filename
6,206
Posted By PradeepRed
awk -v in SunOS
Hi folks

I have a small problem wherein i have to obtain the data for the last 5 minutes from a logfile. I need to schedule this script in the crontab so that it runs every 5 minutes. A sample of...
30,376
Posted By PradeepRed
Meaning of ps -afe ,ps -fp and ptree
Hello,

I was searching for the meaning of commands like ps -afe ,ps -fp and ptree
but was not able to find there exact meaning ....

Pls help me in getting these...

Thanks in advance,
...
2,992
Posted By PradeepRed
how to use scp without passord
Please guide me how to use scp without password prompt when i am trying to copy a file from one system to another. rcp command is not working even after i have put entries in .rhost file.
3,056
Posted By PradeepRed
Thanks for the expalantion ......
Thanks for the expalantion ......
3,056
Posted By PradeepRed
Thanks for the info, but its not clear to me can...
Thanks for the info, but its not clear to me can you explain me via an example......
3,056
Posted By PradeepRed
Diff b/w $@ and $#
Hello,

Pls explain the difference between $# and $@, and how its used in shell scripting .

Thanks in advance
2,954
Posted By PradeepRed
Thanks
Thanks Mona , it worked .....

Regards,
2,954
Posted By PradeepRed
Replace 10th Field by 2
Hello,

I need some help ....i have a file with many number of fields i want to replace the 10th field of the file by number 2 .Also the delimeter of the file is | .

Pls suggest and help..
...
2,790
Posted By PradeepRed
Thanks nawk worked!!! Thats a load off my...
Thanks nawk worked!!!

Thats a load off my chest

Thanks a lot man

Regards
:)
2,790
Posted By PradeepRed
Removing lines from a file
Hello

i have 2 files file1 and file2 as shown below

file1
110010000000206|567810008161509
110010000000207|567810072227627
110010000000208|567811368851555
110010000000209|567811422513652...
5,780
Posted By PradeepRed
tried what you suggested but it did not work. It...
tried what you suggested but it did not work. It gave me the following error message.

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

Pls suggest if i might be doing...
5,780
Posted By PradeepRed
Grep using line command
Hello

I have a pretty big problem here. I have a very large file having lines running into millions. A small sample of the data is shown below
...
4,869
Posted By PradeepRed
Thanks a lot Vino !!!!!!!! Worked like a charm ...
Thanks a lot Vino !!!!!!!!
Worked like a charm :)
4,869
Posted By PradeepRed
I request you to pls elaborate on the code given....
I request you to pls elaborate on the code given. If my data is present in a file named a1, then how do i use your code to get a file a2 with the desired output. I could not figure out how to use the...
4,869
Posted By PradeepRed
Cut Paste and Insert Help
Hello

I have a very large file where say each line is made up of 80 characters.
I want to cut the characters from 20-30 and 50-60 from each line and then insert a delimiter between them (# or |...
Showing results 1 to 25 of 25

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