Search Results

Search: Posts Made By: saku
875
Posted By saku
Shell script assistance Urgent
write a script using shift and case to receive 11 argument and do the following
--arg1 - print hello message and the current proccess id
--arg2 - read and edit a...
2,942
Posted By saku
Hi, yes like shell startup/login script it...
Hi,

yes like shell startup/login script it should send the msg on console/terminal like , and i am using suse linux

service started

or

service not started
Please check the start.sh file...
2,942
Posted By saku
yes , i am getting the output when i run my...
yes , i am getting the output when i run my script : my script is working and it is giving the below output and cron job i sheduled every week.

output:

service not started
Please check the...
Forum: Linux 11-12-2014
1,505
Posted By saku
Linux extacting msg from script to console
how to get the outout from script to console.

i am running one script msg.sh using cron job every suday midnight. as soon as i logged in i want to see the staus is service started or service...
2,942
Posted By saku
How to redirect the messages from the script to console in Linux?
msg.sh
#!/bin/bash
if [ -e /user/script/$start.sh]
then
echo "starting service"
else
echo " service not started"
echo " Please check the start.sh file or manuly start the service" ...
1,340
Posted By saku
Env variables in script
Hi All,

I have script and it's hardcoded the script ca invoke in user home dir and logs will be redirected to home dir of user.

how to make the same script will be invoke from /usr/bin with out...
4,168
Posted By saku
#!/bin/bash PARAMETER=$# VIEW_NAME=$1 ...
#!/bin/bash

PARAMETER=$#
VIEW_NAME=$1

Help()
{
echo "Usage:"
echo "./build <view-name> <Val > "
echo " "
}

check_parameters()
{
if [ "$PARAMETER" == "2" ]
then...
4,168
Posted By saku
#!/bin/bash PARAMETER=$# VIEW_NAME=$1 ...
#!/bin/bash

PARAMETER=$#
VIEW_NAME=$1

Help()
{
echo "Usage:"
echo "./build <view-name> <Val > "
echo " "
}

check_parameters()
{
if [ "$PARAMETER" == "2" ]
then...
4,168
Posted By saku
my requirement is below : If i excecute...
my requirement is below :

If i excecute script like below it should take view name as a command line parameter and
execute 2 function of the script .please suggest if logic is not correct .

...
4,168
Posted By saku
How to execute functions or initiate functions as command line parameters for below requirement?
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that...
2,724
Posted By saku
Hi, cmd i am executing in linux: and make...
Hi,

cmd i am executing in linux:
and make is the file which having these changes.

$./make rel sapqe1 IMAGE=2
DO=ABC
$./make rel sapqe1 IMAGE=1
DO=ABC
$./make rel sapqe1 IMAGE=3
DO=ABC...
2,724
Posted By saku
i have tried all possibilities and solutions...
i have tried all possibilities and solutions mentioned above . it's not working .

can any one help the make script coding with the above requirement.only in below senario it's working and...
2,724
Posted By saku
shell_script showing errors in the below mentioned script while executing in linux
code:

IMAGE=$imgvalue;
if [ $imgvalue :=1 ]
then
echo DO=ABC;
elif [ $imgvalue :=2 ]
then echo DO=ETC;
elif [ $imgvalue :=3 ]
then echo DO=XYZ;
else
echo "$imgvalue is...
1,176
Posted By saku
make file script not working
Hi All,

I have one requirement in my automation .

I need to pass values like 1 , 2 , 3 to MY_IMAGE in command line in linux .

I had defines activities for all these inputs in other make...
3,774
Posted By saku
it's working , thanks a lot :)
it's working , thanks a lot :)
3,774
Posted By saku
Hi, i don't want to mention all the dir...
Hi,

i don't want to mention all the dir names to search views

and more over i want to list all the views in below format

1) user_test_Work1.vws
2) user_test_Work2.vws
3)...
3,774
Posted By saku
Search in Unix home directory
I have many views in my Linux home dir under different folders mentioned below.

Home
1. CCVIEWS
2. views
3. Development
4. testproject
:
:
etc.

Now i want to list all the...
1,578
Posted By saku
word search in output
How to get the fisrt word of the output of a shell script .

below command will display the list of baselines in my view .

cmd :
cleartool lsstream -fmt "%[found_bls]NXp\n" -view $VIEW_NAME
...
4,843
Posted By saku
With out using >& command is not redirecting the...
With out using >& command is not redirecting the output to a file ..
2>&1 >> data.txt this didn't help. this is shell script , i am running on linux
4,843
Posted By saku
syntax error near unexpected token `&' if i use...
syntax error near unexpected token `&'
if i use >>& .

cleartool diffbl -act -ver label1 label2 >>& data.txt
cleartool diffbl -baselines label1 label2 >>& data.txt
cleartool diffbl -elements...
9,393
Posted By saku
Redirecting the multiple commands output to single file
Hi,
I am new to shell scripting and have a question. I would like to redirect the output of multple commands to single file, From what I read from the bash manpage and from some searching it seems...
4,843
Posted By saku
clearcase shell script
I am running all clearcase commands in shell script and every command is redirecting output to file data.txt
cleartool diffbl -act -ver label1 label2 >& data.txt
cleartool diffbl -baselines label1...
1,224
Posted By saku
I need to capture the checkin list between two...
I need to capture the checkin list between two baselines in csv or word format . this command is not redirecting output wheni use $cmd>>output.csv
Forum: Programming 02-08-2012
1,212
Posted By saku
perl api
Does anyone have any example of how to use the perl api within Build Forge
1,988
Posted By saku
check in and check out comments
Hi
Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI

---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM...
Showing results 1 to 25 of 32

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