You need to export that PATH variable for it to be used.
As reborg says, use CODE tags - it makes it much easier to read scripts etc as it protects formatting and prevents linewrapping etc.
[
]
(but only one set or brackets instead of the two I've shown above)
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
i installed x windows redhat linux 9.0 in my pc.
but the problem is when i run cc command for c programme .....bash:cc: command not found printed ...........i set the path for bash ............with the help of PATH=$PATH....................still it is not working .........please guide me. (4 Replies)
Hi guys,
I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a |... (2 Replies)
I'm using Terminal in MAC OS X, and new to this.
I don't know what happened to the path. I always get "command not found".
For example, this is some of what I get:
-bash: ls: command not found
-bash: touch: command not found
What should I do to return the terminal to normal?
... (0 Replies)
I have installed Solaris recently. I was doing "for file in *.c; ...." at the command prompt, it says for: command not found. I tried changing shells, but still wouldn't work.
Any ideas? (7 Replies)
I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time:
export PATH="$PATH:~/scripts"
I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Trying to run script but everytime I do I get teh following error message
line 4:
I have attempted... (5 Replies)
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)
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Hi all,
ar command not found on Solaris 10 version.
We can execute under ./ar command /usr/ccs/bin directory.
However, we want to execute ar command anywhere.
We add to /usr/ccs/bin entry under /etc/profile file shown as below.
umask 002
trap 2 3
... (2 Replies)
Discussion started by: ziosnim
2 Replies
LEARN ABOUT DEBIAN
kas_create
KAS_CREATE(8) AFS Command Reference KAS_CREATE(8)NAME
kas_create - Creates an entry in the Authentication Database
SYNOPSIS
kas create -name <name of user>
[-initial_password <initial password>]
[-admin_username <admin principal to use for authentication>]
[-password_for_admin <admin password>] [-cell <cell name>]
[-servers <explicit list of authentication servers>+]
[-noauth] [-help]
kas c -na <name of user> [-i <initial password>]
[-a <admin principal to use for authentication>]
[-p <admin password>] [-c <cell name>]
[-s <explicit list of authentication servers>+] [-no] [-h]
DESCRIPTION
The kas create command creates an entry in the Authentication Database for the user named by the -name argument.
To avoid having the account's initial password echo visibly at the shell prompt, omit the -initial_password argument; the command
interpreter prompts for the password and does not echo it visibly. Whether or not -initial_password is omitted, the Authentication Server
converts the password into a form suitable for use as an encryption key, and records it in the entry's key field.
To alter settings in an Authentication Database entry, use the kas setfields command. To examine an entry, use the kas examine command. To
list every entry in the database, use the kas list command.
OPTIONS -name <name of user>
Names the new Authentication Database entry. Because it is the name under which the user logs in, it must obey the restrictions that
many operating systems impose on user names (usually, to contain no more than eight lowercase letters).
-initial_password <initial password>
Sets the user's password; provide a character string that can include uppercase and lowercase letters, numerals and punctuation. The
Authentication Server scrambles the string into an octal string suitable for use as an encryption key before placing it in the entry's
key field. If this argument is omitted, the command interpreter prompts for the string and does not echo it visibly.
-admin_username <admin principal>
Specifies the user identity under which to authenticate with the Authentication Server for execution of the command. For more details,
see kas(8).
-password_for_admin <admin password>
Specifies the password of the command's issuer. If it is omitted (as recommended), the kas command interpreter prompts for it and does
not echo it visibly. For more details, see kas(8).
-cell <cell name>
Names the cell in which to run the command. For more details, see kas(8).
-servers <authentication servers>
Names each machine running an Authentication Server with which to establish a connection. For more details, see kas(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. For more details, see kas(8).
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following example shows the prompts that appear when an administrator logged in as "admin" creates an Authentication Database entry for
the user "smith", and does not include either the -initial_password or -password_for_admin arguments.
% kas create smith
Password for admin:
initial_password:
Verifying, please re-enter initial_password:
PRIVILEGE REQUIRED
The issuer must have the "ADMIN" flag set on his or her Authentication Database entry.
SEE ALSO kas(8), kas_examine(8), kas_list(8), kas_setfields(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 KAS_CREATE(8)