Search Results

Search: Posts Made By: venkatesh17
4,836
Posted By venkatesh17
Inputs required in decoding file on AIX- executable (RISC System/6000) or object module not stripped
Hi,

We are in the process of migrating from AIX to Linux. There is a script of type "executable (RISC System/6000) or object module not stripped" on AIX and we are unable to read the contents of...
1,615
Posted By venkatesh17
Thank you Corona.
Thank you Corona.
1,615
Posted By venkatesh17
I tried changing the first line from #!/bin/sh to...
I tried changing the first line from #!/bin/sh to #!/bin/ksh, but it didn't work.
It still doesn't work when I try to execute the script as "sh <filename.prog>"
1,615
Posted By venkatesh17
Thanks for your response Corona. We have a...
Thanks for your response Corona. We have a similar code in almost 70+ programs and it would be a little tough to change it every where. Would it be a good idea to make the "sh" present under "/bin"...
1,615
Posted By venkatesh17
Issues while trying to run a shell script using the command sh <filename.prog>
Hi,

I'm facing issues while trying to run a sample program on Linux.
If I try to run the script using the command "sh <filename.prog>", it doesn't work. But, if I try to execute it using the...
1,483
Posted By venkatesh17
@Chubler_XL: Thanks for the reply. Are there...
@Chubler_XL: Thanks for the reply.
Are there any other ways than this to achieve my requirement.
1,483
Posted By venkatesh17
@panyam: I have already tried that, but wasn't...
@panyam:
I have already tried that, but wasn't helpful.

@madeInGermany:
When I tried sudo -u mgr ./download.sh, it's prompting to enter the password of the user "mgr". As I mentioned earlier,...
1,483
Posted By venkatesh17
Shell Script execution issues
Hi,

There's a shell script by name "download", which has been created as user "mgr" and that script needs to executed as user "dev".

I tried giving privileges 701 on the script download.
But...
5,626
Posted By venkatesh17
That's correct, I'm trying to use it like...
That's correct, I'm trying to use it like var=$(<command>).
It appears to work at times and fails too. So, Couldn't understand what exactly is wrong with the approach.
5,626
Posted By venkatesh17
Just an addition to that , the below command...
Just an addition to that , the below command works fine at times and gets error out suddenly. Couldn't understand what's exactly wrong here

---------- Post updated at 07:24 AM ---------- Previous...
5,626
Posted By venkatesh17
I'm searching for the word "failure" in that log...
I'm searching for the word "failure" in that log file and checking for the date format either 'mm/dd/yy' or 'mm/dd/yyyy' (4 days older).

And in the end only the failures which has any of the...
5,626
Posted By venkatesh17
Issue while executing script
Hi,

I'm trying to use the below command in a shell script, but couldn't.
The command is working fine when I'm executing from the dollar prompt i.e. shell.

Command:
grep -i fail...
Showing results 1 to 12 of 12

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