10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Below is the script that i'm using but i'm getting an error,
echo -n "Read the letter >(enter a or b or c) "
read letter
if || || ;
then
echo "unacceptable character"
else
echo "Character Accepted"
fi
if the character entered is not equal to a or b or c, the script should... (6 Replies)
Discussion started by: web2moha
6 Replies
2. Shell Programming and Scripting
What would cause a script to work under one user account and not another? Here's an example of what I'm referring to.
Here's a simple script. Let's put it in a file called “thescript”.
#! /bin/bash
alias a='echo hello world'
a
Here are the results when this script is executed logged in... (3 Replies)
Discussion started by: sszd
3 Replies
3. Shell Programming and Scripting
I am working on AIX 6.1 issuing #!/bin/sh at the beginning of the script.
I don't understand why $1 is not working as expected. I expect it to hold the value for the first argument coming from the command line consistently - and it is not.
At the beginning of the script starting I do this:... (4 Replies)
Discussion started by: Feliz
4 Replies
4. Shell Programming and Scripting
Hey I have a problem with my script.
I writing a script which can depend whether you want to make a file or a directory.
I only give the code where you can find the problem.
My loop doesn't stop and I don't know why and
when i echo my second parameter , he echoes nothing :s
Thnx
... (1 Reply)
Discussion started by: Eclecticaa
1 Replies
5. Shell Programming and Scripting
I have the below script in file read_file.ksh if ] || ]
then
echo "Required one input file"
echo "Enter a file to get char count:"
read $FILE_NAME
if ]
then
echo "valid file"
else
echo "Not a valid file."
fi
When run as read_file.ksh detail.csv or... (9 Replies)
Discussion started by: michaelrozar17
9 Replies
6. Linux
I installed PCI Card HP SC44Ge - SAS1068E
on my linux CentOS 5.4
is there a way to find out if the PCI is properly installed and recognized by linux.
lspci is enough?
just to add that PCI card is connected to a tape...
also how can I find out driver and firmware version?
thanks a... (1 Reply)
Discussion started by: karlochacon
1 Replies
7. Solaris
Good evening,
I am fairly (re)new to Solaris 10. In fact I was even quite good at it, but that was about 10 years ago, so now I am back to beginner status :)
I installed a new machine with an internal 16port RAID attached to an Areca 1260 controller. Also attached is an external SCSI-Raid. ... (7 Replies)
Discussion started by: PatrickBaer
7 Replies
8. UNIX for Dummies Questions & Answers
I'm trying to install Solaris 10 along with Ubuntu (dual-boot system)
The problem is, GParted partition manager (Ubuntu) didn't recognize the FAT file system used to install the Solaris. It said that the block size is unknown file system..
What's the correct file system to install Solaris so... (6 Replies)
Discussion started by: frankoko
6 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I'm trying to extract a war file via the jar command; however, when I issue:
jar -xvf MyWarFile.war
I'm recieving "jar: not found"
I added
/usr/bin to the path ...didn't work
also tried
/usr/bin/jar to the path...still doesn't work
My JAVA_HOME/bin is also in the path.
... (1 Reply)
Discussion started by: orahi001
1 Replies
10. Shell Programming and Scripting
I need to accept a number of arguments at command line and print it in reverse order
i use eval `echo x=$1` to capture the argument
#! /bin/sh
counter=0
while
do
eval `echo x=$1`
arg$counter=$x
counter=`expr $counter + 1`
shift
done
but the error keeps... (1 Reply)
Discussion started by: scmay
1 Replies
vparadmin(1M) vparadmin(1M)
NAME
vparadmin - modifies attributes for the virtual partition flexible administrative capability
SYNOPSIS
vp_name] | |
DESCRIPTION
The command is used to add or delete a Designated-Admin vPar. It can also be used to change the virtual partition flexible administrative
password.
Options are valid when the virtual partition flexible administrative capability is enabled.
Options
recognizes the following command line options and arguments. The options are mutually exclusive.
Adds the virtual partition
to the Designated-Admin vPar list in a secure virtual partition environment. It will prompt for the existing virtual parti-
tion flexible administrative password before allowing the addition.
Deletes the virtual partition
from the Designated-Admin vPar list. It will prompt for the existing virtual partition flexible administrative password
before allowing the deletion.
Changes the virtual partition flexible administrative password.
It will prompt for the old password for validation.
Displays the Designated-Admin vPar list.
If no arguments are supplied, indicates whether the virtual partition flexible administrative capability is enabled or disabled.
SECURITY RESTRICTIONS
This command is restricted to processes owned by a superuser.
RETURN VALUE
The command exits with one of the following values:
Successful completion.
One or more error conditions occurred.
EXAMPLES
Use vparadmin without any options:
The virtual partition fle xible administrative capability is disabled.
Add the name of the virtual partition called to the Designated-Admin vPar list:
---------- Designated-Admin virtual partitions ----------
Oslo
To change the virtual partition flexible administrative password:
Old password:
New password:
Re-enter new password:
vPar flexible administrative password successfully changed.
ERRORS
displays error messages on standard error for any of the following conditions:
o An invalid option is specified.
o An invalid value is specified for an option or a value is omitted.
o does not exist in the monitor database.
o One or more options are specified more than once.
AUTHOR
was developed by the Hewlett-Packard Company.
SEE ALSO
vparboot(1M), vparcreate(1M), vparmodify(1M), vparremove(1M), vparreset(1M), vparresources(5), vparstatus(1M), vpmon(1M).
vparadmin(1M)