Sponsored Content
Top Forums Programming Problem with system("command") Post 302461621 by acciues on Monday 11th of October 2010 09:12:36 PM
Old 10-11-2010
Thanks a lot!!
I will test it when arrive at home!!
And IfI want to spend some time between the first and the second command?? I would be sure that the first command is completed before the beginning of the second.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix "at" / "Cron" Command New Problem...Need help

Hi All, I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Discussion started by: Mohanraj
3 Replies

2. Programming

Problem with socket binding - "system" call

Hi, I am having an issue with using sockets. I have a program which binds to a socket and listen on it. Later I spawn a thread to handle some function. In the new thread created I need to call a shell script which executes the specified function. Here I am using a system command to call the... (5 Replies)
Discussion started by: Janardhanbr
5 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. Shell Programming and Scripting

Problem with "find" and "grep" command

I want to list all files/lines which except those which contain the pattern ' /proc/' OR ' /sys/' (mind the leading blank). In a first approach I coded: find / -exec ls -ld {} | grep -v ' /proc/| /sys/' \; > /tmp/list.txt But this doesn't work. I got an error (under Ubuntu): grep:... (5 Replies)
Discussion started by: pstein
5 Replies

5. Shell Programming and Scripting

Problem using "system" command in perl

Hello!!! I'm trying to pass the output from bash command to perl variable in a perl script, and I used the "system" command to execute the bash statment and pass the result to perl string variable, in this perl script I used a variable $file that store data for using it as a regular expression.... (2 Replies)
Discussion started by: evolabo
2 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. UNIX and Linux Applications

Problem on SQLplus command ""bash: sqlplus: command not found""

Hi all, i face an error related to my server ""it's running server"" when i use sqlplus command $ sqlplus bash: sqlplus: command not found the data base is up and running i just need to access the sqlplus to import the dump file as a daily backup. i already check the directory... (4 Replies)
Discussion started by: clerck
4 Replies

8. AIX

[Tip] Problem with rpm ("different operating system")

I have once experienced this problem without understanding what caused it but now learned thatn there is even a PMR dealing with it. Sometimes it happens that you encounter the following (rather cryptical) error message when trying to install an rpm-package: package <rpm_package_name> is for a... (1 Reply)
Discussion started by: bakunin
1 Replies

9. Shell Programming and Scripting

awk "date" and "system" command

Hello experts! I need your help please I have a file.txt of which I want to extract 3rd and 4th columns with date with the form e.g.: 2016-11-25 03:14:50and pass them to "date" command, but also append the 9th column in a file as well. So I want to execute date -d '2016-11-25 03:14:50' ... (2 Replies)
Discussion started by: phaethon
2 Replies

10. UNIX for Beginners Questions & Answers

What does "force devmap reload" as in "multipath -r" means for my system and stability of my system?

Cannot present unpresented disks back again. On a test server tried this as a solution "multipath -r" and it worked. Too worried to try it in production before I know all the information. Any info would be appreciated! Also some links to the documentation on this specific issue could help a... (1 Reply)
Discussion started by: jsteppe
1 Replies
LIBVALHALLA-TEST(1)					      General Commands Manual					       LIBVALHALLA-TEST(1)

NAME
libvalhalla-test - a test media indexing utility which uses libvalhalla SYNOPSIS
libvalhalla-test [options ...] paths ... DESCRIPTION
This manual page documents briefly the libvalhalla-test command. libvalhalla-test is a command-line media indexing tool which uses libvalhalla. It is mainly used to test and exercise libvalhalla capabili- ties. OPTIONS
-h --help this help -v --verbose increase verbosity -l --loop number of loops -t --timewait time to wait between loops [sec] -e --delay delay before the scanning begins [sec] -m --timelimit time limit [ms] for the scanning -a --priority priority for the threads -d --database path for the database -f --download path for the downloader destination -c --commit-int commits interval -p --parser number of parsers -n --decrap enable decrapifier (for title metadata) -k --keyword keyword for the decrapifier -s --suffix file suffix (extension) -g --grabber grabber to be used Example: libvalhalla-test -l 2 -t 5 -d ./mydb.db -p 1 -a 15 -s ogg -s mp3 /home/foobar/music Default values are: loop=1, timewait=0, database=./valhalla.db, commit-int=128, parser=2, priority=19, suffix=flac,m4a,mp3,ogg, wav,wma,avi,mkv,mov,mpg,wmv, bmp,gif,jpeg,jpg,png,tga,tif,tiff AUTHOR
libvalhalla was written by Mathieu Schroeter <mathieu.schroeter@gamesover.ch>, Benjamin Zores <ben@geexbox.org>, Fabien Brisset <fbris- set@gmail.com> and Davide Cavalca <davide@geexbox.org>. This manual page was written by Davide Cavalca <davide@geexbox.org>, for the Debian project (but may be used by others). 10/12/2009 LIBVALHALLA-TEST(1)
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy