Please post the code you are currently running to "print" these files, because it is not clear what you are trying do accomplish.
I posted the code
--- Post updated at 09:14 PM ---
Quote:
Originally Posted by MadeInGermany
It's really not clear.
If you want to view the two files side by side, then I recommend MidnightCommander (mc).
To print the files side by side, you can try
With paste, how could I print 1 file first then have another file print on the side of it, printing against file 1? I want the second file to print down file 1 side by side by on the same line.
Need shell script to read two file at same time and print output in single file
Example I have two files 1) file1.txt 2) file2.txt
File1.txt contains
Aaa
Bbb
Ccc
Ddd
Eee
Fff
File2.txt contains
Zzz
Yyy
Xxx (10 Replies)
So basically what I want to do is pull out DNA sequences for a particular gene name.
I have 2 files (FILE1 and FILE2) and I want an output into a separate file (FILE3).
FILE1 and 2 are MASSIVE so I am only posting examples from each file.
So FILE1 looks like this (tab deliminted, 4... (3 Replies)
Hi all,
I have a script that is monitoring a hot folder. This script works fine with one exception when the script is executed while a file is being copied to the hot folder.
What is the easiest method to check if the copy file is completed? I'd like to get the solution in bash :) (8 Replies)
i have 3 files as below:
i want to print 1st,2nd,5th and 10th filed of 1st to 5th lines from each files into a line of an output file, so the result would be:
:
{line1}(field 1 of line 1 from file 1)(field 2 of line 1 from file 1)(field 5 of line 1 from file 1)(field 10 of line 1 from file... (1 Reply)
I am connecting to a device using telnet, I want my script to perform certain commands : ie- show device , show inventory..etc and write the output it sees from the terminal to a file.
this is what I have got :
#!/usr/bin/expect --
set running 1
spawn telnet <ip address>
expect ... (1 Reply)
this is the requirement
list.txt
table1
table2
table3
testfile.txt
name#place#data#select * from table1
name2#place2#data2#select * from table 10 innerjoin table3
name2#place2#data2#select * from table 10
output
name place table1
name2 place table3
i tried using awk (7 Replies)
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
I have files named with different prefixes. From each I want to extract the first line containing a specific string, and then print that line along with the prefix.
I've tried to do this with a while loop, but instead of printing the prefix I print the first line of the file twice.
Files:... (3 Replies)
Discussion started by: pathunkathunk
3 Replies
LEARN ABOUT SUNOS
zcons
zcons(7D) Devices zcons(7D)NAME
zcons - Zone console device driver
DESCRIPTION
The zcons character driver exports the console for system zones. The driver is comprised of two "sides:" a master side with which applica-
tions in the global zone communicate, and a slave side, which receives I/O from the master side. The slave side is available in the global
zones.
Applications must not depend on the location of /dev or /devices entries exported by zcons. Inside a zone, the zcons slave side is fronted
by /dev/console and other console-related symbolic links, which are used by applications that expect to write to the system console.
The zcons driver is Sun Private, and may change in future releases.
FILES
/dev/zcons/<zonename>/masterconsole
Global zone master side console for zone <zonename>.
/dev/zcons/<zonename>/slaveconsole
Global zone slave side console for zone <zonename>.
/dev/zconsole
Non-global zone console (slave side).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
| Interface Stability |Sun Private |
+-----------------------------+-----------------------------+
SEE ALSO zoneadm(1M), zonecfg(1M), attributes(5), zones(5)SunOS 5.10 24 Aug 2003 zcons(7D)