Hi,
I have replaced my current Intel PC machine with Solaris 10, it use to have windows XP.
I am sure alot of people already done this and i have seen Solaris running smoothly but having keyboard problem.
What is the equal keys in a QWERTY keyboard for selection <Stop+A> ?
Is there a... (5 Replies)
Hi
I am trying to write a code like this
echo "enter a type"
read a_type
while || || || || ||
do
echo "invalid engine type Please enter correct a_type"
read engine_type < /dev/tty
done
My problem is that even if i give the a_type as the correct one that i have listed above that... (9 Replies)
I have the following line to text:
ExecuteQueue Name=default ThreadCount=60
I want to write a sed or awk function that eliminates everything before "ThreadCount" without taking into account what is actually in front of ThreadCount. Meaning there may be text in front of "ThreadCount" other... (6 Replies)
Hi,
I have the below script executed
arg="dir"
if "$arg" = "dir"
then
echo "true"
else
echo "false"
fi
Please let me know what happens in the if command.
My output is:
dir: dir: No such file or directory
false
which is not the desired output.
When i used test command... (1 Reply)
Does anybody understand why this is not being interpreted as true.
Script:
#!/bin/bash
errored=`grep "errored" new_update_scripts.txt`
echo $errored = "errored"
if ; then
echo true
else
echo false
fi
Output:
$ UpdateScripts
errored = errored
false (7 Replies)
Guys,
I am trying to do below operation
LAST_TRANSACTION=2
if ]; then
# do something
fi
If the LAST_TRANSACTION variable is not equal to 1 or 2 or 3 then code inside the if block should be execute.
This code is not working, Any help is appreciated. (7 Replies)
Hi there can anyone help me please. I want to make a program to check if the executable file specified by the user exists in the directory.
When I run this program particulary these lines of code does not work:
if ("$fi" == "$name") then where It checks whether the specified file is equal to the... (1 Reply)
Did I do something wrong with this awk not equal? For some reason it prints twice.
>awk '{if ($4 != "root") print $1 " " $4 " " $5}' ls_test
server10: njs nodeadm
server10: njs nodeadm
>grep server10 ls_test
server10: drwxr-sr-x. 18 njs nodeadm 4096 Aug 16 09:42 /opt
> (2 Replies)
Discussion started by: cokedude
2 Replies
LEARN ABOUT PHP
vgremove
VGREMOVE(8) System Manager's Manual VGREMOVE(8)NAME
vgremove - remove a volume group
SYNOPSIS
vgremove [-d|--debug] [-f|--force] [-h|-?|--help] [--noudevsync] [-t|--test] [-v|--verbose] VolumeGroupName [VolumeGroupName...]
DESCRIPTION
vgremove allows you to remove one or more volume groups. If one or more physical volumes in the volume group are lost, consider vgreduce
--removemissing to make the volume group metadata consistent again.
If there are logical volumes that exist in the volume group, a prompt will be given to confirm removal. You can override the prompt with
-f.
OPTIONS
See lvm for common options.
-f, --force
Force the removal of any logical volumes on the volume group without confirmation.
--noudevsync
Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible
udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
ates.
SEE ALSO lvm(8), lvremove(8), vgcreate(8), vgreduce(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREMOVE(8)