Search Results

Search: Posts Made By: Afi_Linux
Forum: Red Hat 01-21-2011
13,658
Posted By KevinGB
You have to use the test command to do the...
You have to use the test command to do the comparison. Test can be replaced by square brackets as per the previous post.
Forum: Red Hat 01-20-2011
13,658
Posted By cjcox
You might need a refresher course in bourne/bash...
You might need a refresher course in bourne/bash scripting.

You could use:


if [ $LOG_ARCH_PERCENT -gt 60 ]; then


for portability... or if you assume bash (common on Linux):

if [[...
41,753
Posted By Chubler_XL
Yes that should be fine, just grep for [X]YZ...
Yes that should be fine, just grep for [X]YZ instead.

The square brackets tell grep match any of the following single characters (a single X here). So this will find XYZ, but because the command...
Forum: Red Hat 10-15-2010
18,082
Posted By ygemici
try this # /usr/sbin/lvm lvm> lvscan ...
try this
# /usr/sbin/lvm
lvm> lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [29.12 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [768.00 MB] inherit
...
...


#...
Forum: Red Hat 10-15-2010
18,082
Posted By verdepollo
Usually you need to be root to use LVM tools...
Usually you need to be root to use LVM tools (they are located in /usr/sbin).
Forum: Red Hat 10-15-2010
18,082
Posted By DGPickett
My system has a mnttab that tells me the logical...
My system has a mnttab that tells me the logical volumes are under vxfs

$ pg /etc/mnttab
/dev/vg00/lvol5 / vxfs log 0 1 1276425326

so I would get information on the commands of vxfs to...
Forum: Red Hat 10-15-2010
18,082
Posted By DGPickett
Maybe the file systems are less full-featured...
Maybe the file systems are less full-featured here. df tells you all the mounts and devices. Each device can be a different file system type. The innards of logical volumes is file system...
41,753
Posted By DGPickett
Man Page for su (OpenSolaris Section 1m) - The...
Man Page for su (OpenSolaris Section 1m) - The UNIX and Linux Forums (https://www.unix.com/man-page/OpenSolaris/1m/su/)

Expect-5.43.0...
41,753
Posted By DGPickett
You an wrap su in an expect script (exposing the...
You an wrap su in an expect script (exposing the password a bit),
or set up passwordless login for you-here to him-here using rsh/remsh/rexec/ssh/ssh2,
or hit some custom service like a web...
Forum: Red Hat 10-07-2010
10,329
Posted By jim mcnamara
I think scottn means: you can add chsh /bin/csh...
I think scottn means: you can add chsh /bin/csh to your .profile if you don't have root priv.
41,753
Posted By bartus11
Try: su - user -c "command"
Try: su - user -c "command"
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy