Hello,
How can I take the following output:
outputa
outputb
outputc
and turn it into single line ouput, with a single space between each field like below:
outputa outputb outputc (7 Replies)
Hi,
Can anyone suggest me how can I display the output of ls command in single line with some delimiter say pipe (|)?
I know it can be done by writing a script by using the loops but I wanted to know are there any other single line commands?
Thanks for your help
Sheshadri (7 Replies)
hey gents,
I'm working on something that will use snmpwalk to query the devices on my network and retreive the device name, device IP, device model and device serial. I'm using Nmap for the enumeration and sed to clean up the results for use by snmpwalk. Once i get all the data organized I'm... (8 Replies)
Hi Guys,
I have an oracle database, I am trying to query the database and route it to file.
But the records instead of coming in a single line, are coming in three lines.
Can you please help me.. in this..
sqlplus -s $SRMUserid/$SRMPassword@$SRMServer<< EOF >log.out;
select * from... (5 Replies)
Hi All,
Small script but :wall:, please help in this regard.
for i in 1 2 3
do
echo $i
done
result :
1
2
3
I want the above to be printed as below
expected result:
1 2 3
Thanks in advance :) (3 Replies)
Hello
I did do a search and the past threads doesn't really solve my issue. (using various awk commands)
I need to combine the output from java -version into 1 line, but I am having difficulties.
When you exec java -version, you get:
java version "1.5.0_06"
Java(TM) 2 Runtime... (5 Replies)
Hi,
My Oracle query is returing below o/p
----------------------------------------------------------
Ins trnas value
a lkp1 x
a lkp1 y
b lkp1 a
b lkp2 x
b lkp2 y ... (7 Replies)
Hi all,
I have a single line output like below
echo $ips
10.26.208.28 10.26.208.26 10.26.208.27
want to convert above single line output as below format. Pls advice how to do ?
10.26.208.28
10.26.208.26
10.26.208.27
Regards
Kannan (6 Replies)
example of problem:
when I echo "$e" >> /home/cogiz/file.txt
result prints to file as:AA
BB
CC
I need it to save to file as this:AA BB CC
I know it's probably something really simple but any help would be greatly appreciated.
Thank You.
Cogiz (7 Replies)
Discussion started by: cogiz
7 Replies
LEARN ABOUT SUSE
volcopy
volcopy(1M) System Administration Commands volcopy(1M)NAME
volcopy - make an image copy of file system
SYNOPSIS
volcopy [-F FSType] [-V] [generic_options] [-o FSType-specific_options] operands
DESCRIPTION
volcopy makes a literal copy of the file system. This command may not be supported for all FSTypes.
OPTIONS
The following options are supported:
-F FSType Specify the FSType on which to operate. The FSType should either be specified here or be determinable from
/etc/vfstab by matching the operands with an entry in the table. Otherwise, the default file system type
specified in /etc/default/fs will be used.
-V Echo the complete command line, but do not execute the command. The command line is generated by using the
options and arguments provided by the user and adding to them information derived from /etc/vfstab. This
option should be used to verify and validate the command line.
generic_options Options that are commonly supported by most FSType-specific command modules. The following options are
available:
-a Require the operator to respond "yes" or "no" instead of simply waiting ten seconds before the
copy is made.
-s (Default) Invoke the DEL if wrong verification sequence.
-o FSType-specific_options Specify FSType-specific options in a comma separated (without spaces) list of suboptions and keyword-
attribute pairs for interpretation by the FSType-specific module of the command.
OPERANDS
The following operands are supported:
operands generally include the device and volume names and are file system specific. A detailed description of the operands can be
found on the FSType-specific man pages of volcopy.
EXIT STATUS
The following exit values are returned:
0 Successful file system copy
1 An error has occurred.
FILES
/etc/vfstab list of default parameters for each file system
/etc/default/fs default local file system type. Default values can be set for the following flags in /etc/default/fs. For example:
LOCAL=ufs.
LOCAL: The default partition for a command if no FSType is specified.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO labelit(1M), vfstab(4), attributes(5) Manual pages for the FSType-specific modules of volcopy.
SunOS 5.10 20 Mar 1995 volcopy(1M)