06-28-2017
Quote:
Originally Posted by
RudiC
Then ask your admin to install the ksh- rpm.
Is it really necessary to be admin, i.e. is there a disadvantage (for instance, some features not working) if one installs shells locally? At least with other programming languages (Perl, Ruby, Python, ...), if I'm on a centrally administered system where I don't have admin rights, I prefer to install them in my $HOME instead of requesting an admin to do this just for me, because I can then easier control the version I'm using etc.
Are there features in shells, which would cause trouble with this approach? I'm aware that if I'm not admin, I can't put any shell-specific startup file into /etc, but I would see it only as a minor issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Suppose I have a script named "sc.sh"
in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies
2. Shell Programming and Scripting
HI im a novice with shell scripts but i need help with a random script I have this folder filled with 500 different file names... I need help creating a script that will take each filename and make a new folder named that filename and then move that file into the newly created folder. Then the... (1 Reply)
Discussion started by: emachala
1 Replies
3. Shell Programming and Scripting
In shell Can I pass " to a program ? If not what is the work around ..?
Can I define * as a wild card charecter that will return all the values from
the files ..?
I am trying to create a tool that will return the values from a property file . This tool has to support all the wild card... (1 Reply)
Discussion started by: app1sxv
1 Replies
4. Shell Programming and Scripting
Hi,
I have been working on Sun Solaris since a long time. Recently I got to work on RH Linux. My Linux version details are:
Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
I have a simple command in my shell script:
export BKPTAG=`date... (3 Replies)
Discussion started by: sagarparadkar
3 Replies
5. Shell Programming and Scripting
Hi all,
I am trying to make a Nodemanager work in RHEL 5
I got this script from 'oraclemiddleware.wordpress.com', and made appropriate changes to suit my weblogic installation.
I keep getting the error, "line 82: syntax error: unexpected end of file".
I have checked every line to make sure all... (4 Replies)
Discussion started by: chakrv1
4 Replies
6. Homework & Coursework Questions
Hi Guys
I am new to Linux Shell Scripting . Can any one help me with this Task...files are attached for reference
Task 1: write a script to generate a large size report file MX0002_new.XML by using the template MX0001_new.XML. Shell script is recomended, and it can run on Linux without... (2 Replies)
Discussion started by: samy_1811
2 Replies
7. Shell Programming and Scripting
Hello,
Please, how can I complete this script:
Thank you (2 Replies)
Discussion started by: chercheur857
2 Replies
8. UNIX Desktop Questions & Answers
Taking a class and having trouble with this whole section.
1. What is the name of the action the shell performs on your command-line after you hit the ENTER key (i.e., to cut your command-line syntax into its constituent tokens, including its commands, options and arguments)?
Hint: It is a... (1 Reply)
Discussion started by: red20132014
1 Replies
9. UNIX for Dummies Questions & Answers
we need help with the syntax with this shell script,
if you could create this shell script we can donate to a charity etc.
we need to set up a directory called user3
inside directory user3 we need to create the following files :
afile, anyfile, anotherfile, afiletest, bfile. bfiletest, cfile,... (3 Replies)
Discussion started by: cometboy
3 Replies
10. UNIX for Beginners Questions & Answers
I have a csv file that looks like this
Name,Food,Sport
James,Curry,Gym
Darren,Pizza,Football
Jim,Fish,Hockey
James,Sushi,Tennis
My code looks like this
IFS=","
sed 1d $file_name | while read Name Food Sport
do
mkdir -p $Name
#echo "=================="
#echo "Name: $Name" (3 Replies)
Discussion started by: darklord173
3 Replies
LEARN ABOUT SUNOS
add-admin-object
asadmin-add-admin-object(1AS) User Commands asadmin-add-admin-object(1AS)
NAME
add-admin-object - adds the administered object with the specified JNDI name
SYNOPSIS
add-admin-object --user admin_user[--password admin_password] [ --host localhost] [--port 4848] [--passwordfile filename] [ --secure|-s]
--aorestype admin_object_type [--property name=value[:name=value]*] --raname rar_filename jndi_name
Creates an administered object corresponding to a resource adapter. The ra.xml file can be found in the META-INF directory of the resource
adapter archive. After a .RAR file is deployed to the application server, it gets extracted and a directory corresponding to the .RAR name
is created under $INSTANCE_ROOT/applicaitons/j2ee-modules (or j2ee-apps). You can find the ra.xml in the META-INF subdirectory of the RAR's
directory.
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.
--secure indicates communication with the administrative instance in secured mode.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--aorestype administered object resource type as defined by the resource adapter in the ra.xml file.
--property optional attributes name/value pairs for configuring the resource.
--raname name of the resource adapter.
OPERANDS
jndi_name JNDI name of the administered object to be added.
Example 1: Using add-admin-object
A JMS queue, called sample_jmsqueue, is assumed to have already been created using the create-jmsdest command.
asadmin> add-admin-object --user admin --password adminadmin
--aorestype javax.jms.Queue --property Name=sample_jmsqueue
--raname jmsra jms/samplequeue
Created the object
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-admin-object(1AS), asadmin-list-admin-objects(1AS)
J2EE 1.4 SDK March 2004 asadmin-add-admin-object(1AS)