Sponsored Content
Top Forums Shell Programming and Scripting When i am trying to execute export command within a shell script it is saying command not found. Post 302657357 by clx on Sunday 17th of June 2012 09:14:33 AM
Old 06-17-2012
I used to use clearcase in my last organization (back in 2005) . Its a software configuration management tool from IBM for maintaining source-code etc.


@dchoudhury,

There might be lots of newer versions released from that time but I remember, the said command was used to set the particular view (provided by view-tag, which is not present in your command).
i.e
Code:
cleartool set_view view_tag

You can also run your start-up files (containing the export command and other environment) with the -login option.

Code:
cleartool setview -login view-tag

In every case you have to provide the dynamic view-tag.

You might want to look at this link

Last edited by clx; 06-17-2012 at 10:29 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script to execute user command

I don't know why the following shell script doesn't work. Could you please help me out? #!/usr/bin/ksh test="cal > /tmp/tmp.txt 2>&1" $test I know it will work for the following format: #!/usr/bin/ksh cal > /tmp/tmp.txt 2>&1 However, I need to get the command from the user in... (1 Reply)
Discussion started by: redtiger
1 Replies

2. UNIX for Dummies Questions & Answers

ExporT Command Not found

Hi All I am getting and error export command not found What can be the possible reasons for this and how do we verify those Please help me Thanks (1 Reply)
Discussion started by: networking
1 Replies

3. Shell Programming and Scripting

write a shell script to execute a command

Hello all, I have just started doing shell scripting. I want to read a file which stores the status of my job I have submitted on a cluster. The file looks something like this : ========================FILE============================= crab: Checking the status of all jobs: please wait... (4 Replies)
Discussion started by: learn_linux
4 Replies

4. Shell Programming and Scripting

Execute a shell script after a particular command is run

Hi, I need to run a script whenever the Cron file is modified. The requirement is whenever a user modifies the cron file, the script should run automatically. Can you please provide your inputs ? (5 Replies)
Discussion started by: harneet2004us
5 Replies

5. Shell Programming and Scripting

rm:command not found in linux Bash shell script

Hi All, Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux Issue: While executing shell scripts in bash shell, following error messages are thrown: rm:command not found On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9 Replies

6. Shell Programming and Scripting

Command not found in shell script - stumped for 4 days

Hello, I like to begin with :wall:.. literally... It has been 4 days and I have no idea how to fix it. Environment - AIX 5.3 I wrote a script to call on ssh to log into another box via PKA to do something else. If I run the script on the terminal, it works 100%. If the SAP customised... (11 Replies)
Discussion started by: plonkagain
11 Replies

7. UNIX for Dummies Questions & Answers

ssh command to execute shell script in another server

ssh -q <hostname> /opt/tcs/satish/tst.ksh ssh -q <anotherserver> /opt/tcs/satish/tst.ksh tst.ksh has "nohup <command> & " when i execute below script , its throwing error as nohup can not be found ssh -q <anotherserver> /opt/tcs/satish/tst.ksh > log & can someone let me... (5 Replies)
Discussion started by: only4satish
5 Replies

8. UNIX for Dummies Questions & Answers

How to execute command after telneting in shell script?

Hi , I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that. Eg : telnet hostname portno admin command exit (3 Replies)
Discussion started by: arukuku
3 Replies

9. Shell Programming and Scripting

Need to execute Oracle relocation command in shell script

Hello, I need to execute below command in shell script srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file. What's the right way to execute such commands in shell script? Best regards, Vishal (1 Reply)
Discussion started by: Vishal_dba
1 Replies

10. Shell Programming and Scripting

How to execute application command in shell script?

friends, i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below login: data ps : xxxx $ MNSinput --this takes me to greater than prompt > > ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
7 Replies
WWW::Mechanize::Link(3pm)				User Contributed Perl Documentation				 WWW::Mechanize::Link(3pm)

NAME
WWW::Mechanize::Link - Link object for WWW::Mechanize SYNOPSIS
Link object to encapsulate all the stuff that Mech needs but nobody wants to deal with as an array. Constructor new() my $link = WWW::Mechanize::Link->new( { url => $url, text => $text, name => $name, tag => $tag, base => $base, attr => $attr_href, } ); For compatibility, this older interface is also supported: new( $url, $text, $name, $tag, $base, $attr_href ) Creates and returns a new "WWW::Mechanize::Link" object. Accessors $link->url() URL from the link $link->text() Text of the link $link->name() NAME attribute from the source tag, if any. $link->tag() Tag name (one of: "a", "area", "frame", "iframe" or "meta"). $link->base() Base URL to which the links are relative. $link->attrs() Returns hash ref of all the attributes and attribute values in the tag. $link->URI() Returns the URL as a URI::URL object. $link->url_abs() Returns a URI::URL object for the absolute form of the string. SEE ALSO
WWW::Mechanize and WWW::Mechanize::Image COPYRIGHT &; LICENSE Copyright 2004-2010 Andy Lester. This program is free software; you can redistribute it and/or modify it under the terms of either: o the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or o the Artistic License version 2.0. perl v5.14.2 2011-08-05 WWW::Mechanize::Link(3pm)
All times are GMT -4. The time now is 08:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy