Search Results

Search: Posts Made By: duddukuri
2,026
Posted By duddukuri
I am able to resolve my issue. when i am using...
I am able to resolve my issue.
when i am using the ps -ef, it is not giving the complete command line arguments. That is the reason for the issue. ps auxw will return the complete command line...
2,026
Posted By duddukuri
Thank you jim mcnamara for reply. $! is...
Thank you jim mcnamara for reply.
$! is returning the parent PID only, which is not full filling my requirement.

Once the parent PID is completed, SUB PROCESS will start and it will have a new...
2,026
Posted By duddukuri
Error in finding the PID by grep and assigning to a variable
Hello All,
I am facing difficulty in getting the PID value & then assigning it to a variable,
kindly help me in resolving the issue.
Thanks a lot in advance.

The custom utility used inside the...
1,830
Posted By duddukuri
Errors in if condition validations-Shell Script
Hello All,
i am facing difficulty in validating the values,
kindly help me in resolving the issue.
Thanks a lot in advance.

-Chandra

Script:Test.sh
#! /bin/sh

#...
1,406
Posted By duddukuri
Thank a lot for the Reply elixir_sinari Is...
Thank a lot for the Reply elixir_sinari

Is there any allowed Error Codes list which can be assigned for custom error handling?

like 245-255 range can be used for custom error reporting.
1,406
Posted By duddukuri
Result of Catching Return Value from Sub_script.sh to Main_script.sh is not as Expected
Main_script.sh

#! /bin/sh

./Sub_script.sh
rc=$?
echo "Return code from Sub_script.sh : $rc"
if [ $rc -eq 991 ]; then
echo "$rc = 991"
echo ""
exit 1
elif [ $rc...
958
Posted By duddukuri
what is the character to nullify the '$"
what is the character to nullify the '$"
958
Posted By duddukuri
how to read argument with $ value in the word
Hi
i am having a shell script reading two arguments.
when the shell script is passed with argument containing $ in it, the value from $ onwards is getting truncated and my script is failing.
i...
Showing results 1 to 8 of 8

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