03-08-2019
Probably because your commands aren't written to work that way.
wget must write to a pipe, not a file, second command must read from pipe, not file, etc, etc, etc.
For wget, that means -O - to make it write to standard output. not sure what that means for ffmpeg, etc. If - doesn't work as an input/output filenames, /dev/stdin and /dev/stdout might.
Last edited by Corona688; 03-08-2019 at 12:29 PM..
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In a korn shell script, how can I run several processes in parallel at the same time?
For example, I have 3 processes say p1, p2, p3
if I call them as
p1.ksh
p2.ksh
p3.ksh
they will run after one process finishes. But I want to run them in parallel and want to display "Process p1... (3 Replies)
Discussion started by: sbasak
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
My server runnning on SUN Solaris rel.5.5.1. I have been facing this issues for years. I have some Xbase databases running on the server. User is using emulation software to telnet to server for accessing application. If user logout application abnormally - by closing windows session, then... (2 Replies)
Discussion started by: lowtaiwah
2 Replies
3. Programming
How can i run a back ground process....
I.e for example by using fork() i need to run seperate 4 background processes..
How can send a process to background
??? (9 Replies)
Discussion started by: ugp
9 Replies
4. UNIX for Advanced & Expert Users
Hi,
Would like to ask the experts if anyone knows how to run a script like this:
dtterm -title shell1
run process1 on shell1
dtterm -title shell2
run process2 on shell2
cheers!
p/s: sorry if i used the wrong forum, quite concussed after watching world cup for several nights; but I... (2 Replies)
Discussion started by: mochi
2 Replies
5. Shell Programming and Scripting
Hi All,
I have encountered a problem,please help me.
I have a script in which multiple processes are writing on to the same file .
How should I stop this , I mean lock mechanism can be implemented or we can write the at different files and then concatenate the files.
What would be a better... (1 Reply)
Discussion started by: Sayantan
1 Replies
6. Shell Programming and Scripting
Hello everyone, say I have the following script, which contains serveral loops, if I run the script, it executes the loop one by one (after the a loop, it goes to b loop, then c, then d)
I figured I should be able to run all the loops at same time, but I don't know how, can anyone help a little... (2 Replies)
Discussion started by: fedora
2 Replies
7. Shell Programming and Scripting
Hi,
I want to run the command below in the background:
tail -f file.txt | grep "pattern"
The file file.txt will start getting its contents written after this command has started getting run.
So the flow will be like this
tail -f file.txt | grep "pattern"
#The line below will write data... (0 Replies)
Discussion started by: King Nothing
0 Replies
8. Shell Programming and Scripting
#!/bin/sh
firefox index.html
firefox secondpage.html
hey guys, im not able to open up two pages at the same time...
it always open up index.html first, and only after i close it, then the 2nd page pops up...
is there any way i can run both commands at the same time?
i appreciate any... (2 Replies)
Discussion started by: funnyguy123
2 Replies
9. Programming
Flow of program:
C based CGI is used
CGI1:
-Gets called when user hits upload button(submit) ie form action = CGI1
-Does the file upload (copy to a directory etc)
JS, Ajax fucntion:
-A JS function is called when user hits upload button
-The JS function opens an Ajax request for CGI2... (8 Replies)
Discussion started by: xs2punit
8 Replies
10. Shell Programming and Scripting
i Run 2 scripts on all of around 50 nodes every day.
1.Mod_1.sh
2.Mod_2.sh
eg..
i run file with specific node no like
Mod_1.sh NODE_(node number)
Mod_2.sh NODE_(node number)
I want to run both file by using single script with unique node number.
Eg..
Mod_new.sh NODE_(node... (11 Replies)
Discussion started by: Ganesh Mankar
11 Replies
LEARN ABOUT SUSE
cddb-tool
CDDB-TOOL(1) General Commands Manual CDDB-TOOL(1)
NAME
cddb-tool - Get CDDB information
SYNOPSIS
cddb-tool parse file [-i|-d|-a|-t] [num|-c|-p]
cddb-tool template disc-id tracks
cddb-tool send [file] address
cddb-tool query server user host disc-id tracks
cddb-tool read server user host disc-id genre
cddb-tool help
DESCRIPTION
cddb-tool is a backend tool for abcde. It is passed information from cd-discid and uses it look up the CD title, artist, and track informa-
tion on the cddb database (http://freedb.freedb.org) on the internet.
COMMANDS
parse [file] option
Get data out of a cddb file (use "-" for stdin). Options (use one and only one):
id prints disc id
album prints album title
track num
prints title of track num
artist prints artist
category
prints category
cddbgenre
synonym for category
all parse file and dumps to stdout in a form sourceable by the shell
send [file] address
Mails file file (or stdin of no file specified) to specified address, using correct format. Category should be one of blues, classical,
country, data, folk, jazz, newage, reggae, rock, soundtrack, misc.
template [disc-id] [tracks]
Generates a template (empty) cddb file to stdout. The command line should be essentially the output of cd-discid.
query [server] [user] [host] [disc-id] [tracks]
Looks up disc on server (should be of form "http://host/cddb/cddb.cgi") remainder of command line is in the same form as that returned by
the cd-discid program. Uses wget, so if you need to use a proxy then just configure wget to do so. user and host will be used for identify-
ing ourselves to the CDDB server. Outputs response code and entries with matching CDDB entries, if successful, from the CDDB server.
read [server] [user] [host] [disc-id] [genre]
Dumps CDDB entry to stdout. File will contain an extra #CATEGORY= line, which leaves it a valid CDDB file but which will be recognized by
parse and send commands. Uses wget, so if you need to use a proxy then just configure wget to do so. user and host will be used for identi-
fying ourselves to the CDDB server.
help
Prints usage information.
AUTHOR
Nathaniel Smith <njs@uclink4.berkeley.edu>, maintained as part of abcde by Robert Woodcock <rcw@debian.org>. Manual page compiled from help
information by Robert Woodcock.
CDDB-TOOL(1)