09-08-2019
Please post the code you are currently running to "print" these files, because it is not clear what you are trying do accomplish.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
If I download a file via SFTP how can I tell when the process is completed? Is there a process that I can monitor?
Thanks (3 Replies)
Discussion started by: goodmis
3 Replies
2. Shell Programming and Scripting
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)
Discussion started by: sreedhargouda
10 Replies
3. Shell Programming and Scripting
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)
Discussion started by: kylle345
3 Replies
4. Shell Programming and Scripting
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)
Discussion started by: gigagigosu
8 Replies
5. Shell Programming and Scripting
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)
Discussion started by: saeed.soltani
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: samantha123
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: vamsekumar
7 Replies
8. Shell Programming and Scripting
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)
Discussion started by: Ferocci
8 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: sravanreddy
4 Replies
10. Shell Programming and Scripting
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 DEBIAN
nzbget
NZBGET(1) User Commands NZBGET(1)
NAME
nzbget - binary news file grabber
DESCRIPTION
Usage:
nzbget [switches]
Switches:
-h, --help
Print this help-message
-v, --version
Print version and exit
-c, --configfile <file>
Filename of configuration-file
-n, --noconfigfile
Prevent loading of configuration-file (required options must be passed with --option)
-p, --printconfig
Print configuration and exit
-o, --option <name=value> Set or override option in configuration-file
-s, --server
Start nzbget as a server in console-mode
-D, --daemon
Start nzbget as a server in daemon-mode
-V, --serverversion
Print server's version and exit
-Q, --quit
Shutdown server
-A, --append <nzb-file>
Send file to server's download queue
-C, --connect
Attach client to server
-L, --list
[F|G|O|S|H] Request list of downloads from server
F list individual files and server status (default)
G list groups (nzb-files) and server status
O list post-processor-queue
H list history
S print only server status
-P, --pause
[D|D2|O|S] Pause server:
D pause download queue (default)
D2 pause download queue via second pause-register
O pause post-processor queue
S pause scan of incoming nzb-directory
-U, --unpause [D|D2|O|S]
Unpause server:
D unpause download queue (default)
D2 unpause download queue via second pause-register
O unpause post-processor queue
S unpause scan of incoming nzb-directory
-R, --rate <speed>
Set download rate on server, in KB/s
-T, --top
Add file to the top (beginning) of queue (for using with switch --append)
-K, --category <name>
Assign category to nzb-file (for using with switch --append)
-G, --log <lines>
Request last <lines> lines from server's screen-log
-W, --write <D|I|W|E|G> "Text" Send text to server's log
-S, --scan
Scan incoming nzb-directory on server
-E, --edit [G|O|H] <action> <IDs> Edit items on server
G Affect all files in the group (same nzb-file)
O Edit post-processor-queue
H Edit history
<action> is one of:
<+offset|-offset>
Move file(s)/group(s)/post-job in queue relative to current position, offset is an integer value
T Move file(s)/group(s)/post-job to top of queue
B Move file(s)/group(s)/post-job to bottom of queue
P Pause file(s)/group(s)/ Postprocess history-item(s) again
U Resume (unpause) file(s)/group(s)
A Pause all pars (for groups)
R Pause extra pars (for groups)/ Return history-item(s) back to download queue
D Delete file(s)/group(s)/post-job(s)/history-item(s)
K <name>
Set category (for groups)
N <name>
Rename (for groups)
M Merge (for groups)
O <name>=<value>
Set post-process parameter (for groups)
I <priority>
Set priority (signed integer) for file(s)/group(s)
<IDs> Comma-separated list of file-ids or ranges of file-ids, e. g.: 1-5,3,10-22
nzbget version: 0.7.0 May 2011 NZBGET(1)