Search Results

Search: Posts Made By: girish.raos
35,493
Posted By girish.raos
Thanks a lot vistastar. It works.
Thanks a lot vistastar. It works.
35,493
Posted By girish.raos
How to redirect output of ls to a file?
Hi All,
I want to redirect only the file names to a new file from the ls -ltr directroy. how Can i do it.

my ls -ltr output will be as below.
-rwxr-xr-x 1 118 103 28295 Jul 26 ...
7,486
Posted By girish.raos
Regular Expression to copy files
Hi All,

I have a file with the contents as below.
Current_path/file1
Current_path/file2
Current_path/file3

Now i want a regular expression to copy this files to
cp Current_path/file1 ...
8,984
Posted By girish.raos
Thanks a lot Guys, it worked!!!....
Thanks a lot Guys, it worked!!!....
8,984
Posted By girish.raos
How to delete the last word in a file?
Hi All,
I have a file with the data as below. In this i want to delete the last word. Could you pls help me.

$INSTALL_HOME/lib/fm_voucher_pol.so...
9,684
Posted By girish.raos
Perl: Finding next day
Hi All,

I have date format like 09/10/2005(MM/DD/YYYY) format.
Using this as input i want to get the next day. The ouput should be in MM/DD/YYYY).
Please help me how to do it using perl.
...
3,225
Posted By girish.raos
Thanks a lot Pludi, it was very useful for me. ...
Thanks a lot Pludi, it was very useful for me.

---------- Post updated at 04:46 AM ---------- Previous update was at 04:45 AM ----------



Thanks a lot Yogesh, It was very useful for me.
3,225
Posted By girish.raos
Help to fetch first two characters from a word in perl
Hi All,
I have a word "DE_PR_Package__Basic" , i need to check if the first two characters of this words is DE or something else using perl script.
Can anyone pls let me know how to proceed?
...
8,565
Posted By girish.raos
how about using xml simple with xmlout() ? ...
how about using xml simple with xmlout() ?
which one do you suggest ?
8,565
Posted By girish.raos
Hi, the input and ouput file are as follows. ...
Hi,
the input and ouput file are as follows.
Input data file shall contan plan_name,service name,deal_name, bal_info_index,subscription_index.

Output Xml file:
<plan ondemand_billing="no">...
8,565
Posted By girish.raos
How to create a xml file using Perl Script
Hi All,
I have some data which needs to be saved in the xml file format.Can you guys please let me know how to do this using perl script.

NOTE: the template of the xml file shall be depending on...
3,358
Posted By girish.raos
Not able to change the environment variable in k shell
Hi All,
I am trying the following to set the environment variable in my scirpt.But it is not setting with the correct value.
Can you guys please help me out to get the correct value.
1. I have...
28,711
Posted By girish.raos
Hi, I am not sure how to find the version of...
Hi,
I am not sure how to find the version of vi(if u can help me find the version it will be of great help!).
My OS is AIX.
Also i am searching for the pattren which is present in the file. Since...
28,711
Posted By girish.raos
Hi, I tried using the above command but it says...
Hi,
I tried using the above command but it says " ex: 0602-007 The pattern does not exist".

Please help!
Thanks,
Giri.
28,711
Posted By girish.raos
Commang to search two strings in vi
Hi All,

Could you help me to get the command to search two different strings in a file using vi as editor.
I know that we use /StringToSearch for searching a string, but i want a command to...
5,965
Posted By girish.raos
Script to remove first character if it is zero
Hi All,
I have a input like this.
01
i want the output like this.
1
But if the input file is like
11 i should not do anything.
Can anyone please help to get a command to do this.

thanks,...
1,674
Posted By girish.raos
Parse a line which has different word length
Hi All,
Please let me know a command to parse the below line and find the words,
I have a line like this
40609 39930
In this above line the two words are separted by space.The length of this two...
45,545
Posted By girish.raos
Hi abovais, Ok i will try writing a script, but...
Hi abovais,
Ok i will try writing a script, but i need a help, Please let me know how to convert the string below to unix time.
"Mar 30 2009"

Thanks,
Giri
45,545
Posted By girish.raos
Hi Everyone, Can any one please help me to do...
Hi Everyone,
Can any one please help me to do this. [ changing the string "Mar 30 2009" to unix time]

thanks,
Giri
45,545
Posted By girish.raos
Hi abovais, I tried with the below command...
Hi abovais,

I tried with the below command provided by you,
echo "Mar 31 2009" | awk '{print $1 " " $2-1 " " $3}'

Its gives me "Mar 30 2009" . Now i want to convert this string to unix time....
45,545
Posted By girish.raos
I use AIX and my shell is ksh.
I use AIX and my shell is ksh.
45,545
Posted By girish.raos
Hi Siba, I tried using the command provided by...
Hi Siba,
I tried using the command provided by you, but error outs with the below error mesage.
date: Not a recognized flag: d
Usage: date [-u] [+"Field Descriptors"]

Kindly help .

Thanks,...
45,545
Posted By girish.raos
To convert a date(in string format) to unix timestamp
Hi All,
I have a string like below.
"Mar 31 2009" .
I want to convert this to unix time .

Also please let me know how to find the unix time for the above string minus one day. For Eg. if i...
14,023
Posted By girish.raos
Hi Friend, No, i want the ouput with the...
Hi Friend,

No, i want the ouput with the midnight time for the previousmonths last day minus 1 day
This means if my input is 200909 then i should get the midnight time for 200908 last day...
14,023
Posted By girish.raos
Script to find previous month last day minus one day timestamp
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.

My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need...
Showing results 1 to 25 of 42

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