what is the command to print the text in a specifed location
eg
i have text ("i am here");
i have to print it on location 20,20
wat is the command and which header file it uses
i am currentlr working in solaris 5.8 using unix (1 Reply)
Hi all,
Want to know what does export command do??
What is its functionality?
And on a shell prompt
$at=1
$ echo $at
1
The variable above is it available to other script??? (3 Replies)
What is the command for search the program name from the entire directory (all directories in the unix box, means including sub directories...) (2 Replies)
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Hi
The command "ssh -V" works as normal user but fails as root.
As Normal user:
bash-3.00$ ssh -V
OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011As Root user:
# ssh -V
bash: ssh: command not found
Thanks (1 Reply)
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
My OS is Linux GL version 2.4.26. I am trying to make a shell script that outputs a chart displaying info of who is online, boot time, and the real time, I have manage to get it to work, but I still get the error "./user/script: line 1: : command not found." I do in fact have access to root, if... (2 Replies)
Discussion started by: thatguy565
2 Replies
LEARN ABOUT SUNOS
asadmin-unset
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)