I figured I could just have it run 'mount | grep 192.168' and then check to see if that is present. I don't know how to pipe the output of that into a variable though.
To store the output of a command in a variable, use command substitution:
We have 6 hard disks attached to the hardware. Of this 2 hard disks are of 9 GB each.
Now I want combine both the same in such a way that i see a combined entry in the output of df -k .
The steps I follow are
1. Create partition on hard disks (Using format partition)
2. Run newfs -v for... (6 Replies)
Hello ,
I 've got a problem with the root partition on my SCO 5.0.5 .
When I check the disk with df or mount , I can 't see the root filesystem .
# mount
/stand on /dev/boot read only on Tue Sep 05 16:13:51 2006
/home on /dev/home read/write on Tue Sep 05 16:14:41 2006
But , if I try... (3 Replies)
Hello all,
We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer)..
However in the... (1 Reply)
Hi,
I have some issue with the mounting/unmounting on my sun solaris box.
Actually their is one script that mount the file system take the backup of databases and unmount the file system.Last week this script failed to mount the file system with the below error message:
+ echo fs_check.sh:... (1 Reply)
Hi, to all
I'm writing script with zenity to benchmark selected disk with tools like; hdparm, seeker (to found in here > How fast is your disk? | LinuxInsight)
With this piece of code i try to get all mounted devices to variables to use it with selection menu, but i stuck and don't know how... (5 Replies)
Hi ,
I am completely stuck and not getting any clue to come out this . So looking for help
Q : I have salaries 10 in server with that Dell Equallogic storage connected.
in dell Equlalogic in i have 70 TB storage .
I created 7 volumes 10 TB each .
In Solaries 10 i have syslog server i... (1 Reply)
Hi
I have the following piece of code, running on a solaris 10 O.S., that is not working for NFS file systems:
for vol in `grep -E 'vxfs|ufs|nfs' /etc/vfstab | egrep -v '^#' | awk '{ print $3 }'`
do
if df -k $vol | grep $vol > /dev/null
then
outputOK "Filesystem: $vol mounted"
else... (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT DEBIAN
xupdate
XUPDATE(1p) User Contributed Perl Documentation XUPDATE(1p)NAME
xupdate - Process XUpdate commands over an XML document
SYNOPSIS
xupdate [options] <xupdate-file> <input-file>
Options:
-u | --usage print brief help on usage
-h | --help print documentation
-n | --namespace prefix=namespace-uri
associate a namespace with a prefix for use
in XPath selections in XUpdate file
(this option may occur several times)
-k | --keep-ws preserve whitespace in the XUpdate file
-s | --strip-ws strip ignorable whitespace from the input file
-V | --version print current version and revision
-i | --indent indent the output XML
-j | --extra-indent like -i, but also adds a leading and a trailing
linebreak to every text node.
but also put an extra newline after
every start-tag and before every end-tag
OPTIONS --usage Print a brief help message on usage and exits.
--help Prints the manual page and exits.
--namespace prefix=namespace-uri
Associate a namespace with a prefix. The prefix may be used in the XPath selections in the XUpdate file to address nodes of the
source document that belong to the given namespace. This is especially useful for mapping the default namespace to a prefix
because XPath by definition doesn't honour default namespaces. This option may occur several times.
--keep-ws
Preserves any whitespace in XUpdate file. The default behaviour is to remove all ignorable whitespace and any leading or trailing
whitespace in all XUpdate command elements in the XUpdate file.
--strip-ws
Remove "ignorable" whitespace from the input file. The default behaviour is to keep any whitespace unless the --extra-indent (-j)
option is used. Note that the whitespace being present or not may affect results returned by some XPath expressions (such as
/foo/bar/text()[2]).
--version
Print version and revision number of This program command and version number of XML::XUpdate library used.
--indent
Indent the resulting document on output.
--extra-indent
Indent the resulting document on output as --indent, but also add a leading and a trailing linebreak to every text node.
--debug Print some debugging information about commands being applied.
DESCRIPTION
This program will parse the given XUpdate file and the input file and print the input file updated accordingly. XUpdate file format is
described in XUpdate Working Draft from 2000-09-14 (http://www.xmldb.org/xupdate/xupdate-wd.html).
AUTHOR
Petr Pajas, pajas@matfyz.cz
COPYRIGHT
Copyright 2002-2003 Petr Pajas, All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2011-08-02 XUPDATE(1p)