asadmin-unset(1AS) User Commands asadmin-unset(1AS)NAME
asadmin-unset, unset - removes one or more variables from the multimode environment
SYNOPSIS
unset env_var [env_var]*
Removes one or more variables you set for the multimode environment. The variables and their associated values will no longer exist in the
environment.
OPERANDS
env_var environment variable to be removed.
Example 1: Using unset to remove environment variables
asadmin> export AS_ADMIN_HOST=bluestar AS_ADMIN_PORT=8000 AS_ADMIN_USER=admin AS_ADMIN_PASSWORD=password
asadmin> export AS_ADMIN_PREFIX=server1.jms-service
asadmin> export
AS_ADMIN_HOST=bluestar
AS_ADMIN_PORT=8000
AS_ADMIN_USER=admin
AS_ADMIN_PASSWORD=********
AS_ADMIN_PREFIX=server1.jms-service
asadmin> unset AS_ADMIN_PREFIX
asadmin> export
AS_ADMIN_HOST=bluestar
AS_ADMIN_PORT=8000
AS_ADMIN_USER=admin
AS_ADMIN_PASSWORD=********
Using the export command without the argument lists the environment variables that are set. Notice the AS_ADMIN_PREFIX is not in the envi-
ronment after running the unset command.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-export(1AS), asadmin-multimode(1AS)J2EE 1.4 SDK March 2004 asadmin-unset(1AS)
Check Out this Related Man Page
asadmin-shutdown(1AS) User Commands asadmin-shutdown(1AS)NAME
asadmin-shutdown, shutdown - brings down the administration server
SYNOPSIS
shutdown [--user admin_user][--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s]
shutdown gracefully brings down the administration server and all the running instances. You must manually start the administration server
to bring it up again.
OPTIONS --user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
Example 1: Using the shutdown command
asadmin> shutdown --user admin --password adminadmin --host bluestar --port 4848
Waiting for admin server to shutdown...
Admin server has been shutdown
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
Administration Server page
asadmin-start-instance(1AS), asadmin-stop-instance(1AS), asadmin-restart-instance(1AS)asadmin-start-domain(1AS), asadmin-stop-domain(1AS),
asadmin-start-appserv(1AS), asadmin-stop-appserv(1AS)J2EE 1.4 SDK March 2004 asadmin-shutdown(1AS)
Hello,
I want to set some environment variables with this script:
ip=$@
echo Remote Computer: $ip
PERLDB_OPTS="CallKomodo=$ip:9000 RemotePort=$ip:9010 PrintRet=0"
export PERLDB_OPTS
PERL5LIB=/opt/komodo
export PERL5LIB
echo PERLDB_OPTS: $PERLDB_OPTS
echo PERL5LIB: $PERL5LIB
But it... (5 Replies)
Hi
Input File:
export NAME='AA.BB.CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX.YY.ZZ'
Out File
export NAME='AA/BB/CC'
export FILE=1.2.3
AA.BB.CC
export MAIL= '1.3.3'
export char='XX/YY/ZZ'
Only the Lines which have export and have alphabets after =... (9 Replies)
Dear All,
I have a problem with export. I would like to show a prompt on my shell but as I receive the export environment variable pointer it is the string.
Like it is shown in the Title of this message
How I can get the result of that command after execution in a string I mean I would like to... (6 Replies)
I am working with Sun Solaris 9 and I want to export the environment variable from my application(xxxx.ksh) but I am not able to see it when I am using SET command
I am writing some variables which I have to set
COMMON_USER_HOME=${HOME}
export COMMON_USER_HOME
echo... (6 Replies)
Hello
I have a SunBlade 1000 workstation and I cannot login via CDE. All I get is a console login prompt. I then have to login via root and I just get the command line interface.
I have being doing some research on the UNIX forum and the problem may lie with the content in etc/hosts file.... (7 Replies)
Hello friends,
I have a database export and with this export i need to find some statistics which is required. I take the export of a table with only 3 columns like this:
2nd 3rd 12th
123 05.11.2010 09:27 0
124 05.11.2010 09:28 0
125 05.11.2010 09:34 1
126 05.11.2010 09:39 0... (5 Replies)
Could someone please tell me how to unset your .bashrc? I have tried all of these. I can't find anything useful from google.
unset -f .bashrc
unset .bashrc (9 Replies)
Hi,
I know that export command is used to set environment variable.
Can you please explain what ":--100" in the below command is doing?
export ROWSTOLOAD=${ROWSTOLOAD:--100}
Thanks,
Gangadhar (5 Replies)
Hi all guys,
how you can read in thread title, I'm deploying a bash script in which I have to export some variables inside it.
But (I think you know) the export command works only inside the script and so, on exit command, the variables aren't set like I set inside the script.
Consequently in... (8 Replies)
Hi
I want export input data ...
echo "month: "
read m
export m=$m
also export m is not working ?
the month-variable should be exportet for the use in other scripts,
but it is not working like this. What i'm doing wrong?
Thanks in advance!
IMPe (10 Replies)
Hi
I want to read variables from one file and then set it as environment variable;
The text file is test.txt which contains
SPEED:1000
IP:172.26.126.11
My code is:
while read line; do
var1=`echo $line | awk 'BEGIN {FS=":"} { print $1 }'`
echo $var1
var2=`echo $line | awk 'BEGIN {FS=":"}... (8 Replies)
Hi,
Can someone tell what is the path for "unset", I tried "which" command but getting below error
# which unset
/usr/bin/which: no unset in (/usr/lib/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin/:/root/bin) (9 Replies)
Hi Experts,
Need your help in understanding the commands to setup the environment variables in hp-ux.
Beleive need to use either set,setenv or export.
I am confused between above three options, when to use which option?
On command line, I have tried both set and setenv but couldn't... (7 Replies)