Search Results

Search: Posts Made By: satgur
3,688
Posted By satgur
UNIX file attachment in email
Hi,

I have a syntax for mail attachment as
$EMAIL "Wrapper $wrapper_script_name has failed" " $wrapper_script_name has Failed " $failed_email_address

and $EMAIL is as below

MSGSub=${1}...
4,456
Posted By satgur
replacing parameter in shell script
I have a script file as below named test1.sh

sed -e 's/xxxkeys/$1/g' template1.asp > template1.txt
sed -e 's/xxxkeys/$2/g' template2.asp > template2.txt
sed -e 's/xxxkeys/$3/g' template3.asp >...
38,573
Posted By satgur
Unix Practice Website
Hi ,

If somebody knows, Please let me know where can I practice Unix commands and Shell scripts Online. I know www.cyberspace.org. But its very slow.
Is there some website which is very fast....
8,895
Posted By satgur
.profile settings
I need to configure my .profile so that it should always reflect my present directory path during my session. How can i do that.
Please help
2,091
Posted By satgur
Sed command help reqiored
Can somebody explain me what exactly will happen with this command, step by step.

eval sed " -e 's/?1/${JOB_NAME}/g' -e 's/?DT/${DT}/g'" ${SCRIPT_1} > ${SCRIPT_1_2} 2> ${tmpfile}
2,411
Posted By satgur
Data_DIR=${0%/*/*}/data/
Please explain both these lines

Data_DIR=${0%/*/*}/data/
if [[ ${0#/*} = ${0} ]]

what is the meaning of ${0%/*/*}/data/

and what is the meaning of [[ ${0#/*} = ${0} ]]
4,553
Posted By satgur
That is ok but what is the meaning of ...
That is ok but what is the meaning of 2>&1
4,553
Posted By satgur
${SCRIPTS_DIR}user_info >${log_dir}${BASE_JOB_NAME}.log 2>&1 --- what will this do
Please explain me the following code how it will work


${SCRIPTS_DIR}user_info >${log_dir}${BASE_JOB_NAME}.log 2>&1
27,455
Posted By satgur
if (( $# != 1 )) ---- what will this return
Hi this is an existing code written by somebody. Please help me in understanding the meaning of this

if (( $# != 1 ))
Showing results 1 to 9 of 9

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