09-13-2005
Please refer the documents of idebug to see how to set the arguments meant for debugged program if this is not of help, all i can suggest is a workaround which should work
create a wrapper executable in which you call your debugged program with proper redirection.
Next in your idebug invoke the wrapper instead
rishi
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm trying to locate all files that do not contain the string /usr but do contain the string csh within the file called /etc/passwd. Then I would like to direct this output to a file called pout.
Does anyone one have suggestions on this one?
Thanks (2 Replies)
Discussion started by: klannon
2 Replies
2. UNIX for Dummies Questions & Answers
How do I direct the output of an at command
at now < backupprogram
so that I see something happening. It says the job has been executed but I am not getting the tar file that my backup program on the computer anywhere at all
Please help me - I really am a struggling begginer. (1 Reply)
Discussion started by: Cynergetix
1 Replies
3. Programming
Hi,
I just wrote a program in C to split a comma seperated string in to group of strings using strtok() function. The code is:
int main()
{
char *temp;//not used here but basically we extract one string after another using strtok() and assign to a string pointer defined like this.
... (3 Replies)
Discussion started by: SankarV
3 Replies
4. Shell Programming and Scripting
When I do
time tar cvf /dev/st0 /mnt/junk >> /root/benchlog, I want it to put the output of the time command into the benchlog file, but it put /mnt/junk. How do I get it to put the output of the tar command? (1 Reply)
Discussion started by: jeriryan87
1 Replies
5. Shell Programming and Scripting
I have a script in which some outputs are directed to one file
echo "Load Started" >>${LOGFILE1}
If I have another file LOGFILE2 and i want to redirect the output of the above echo command to LOGFILE2 as well with the same command line... how can i do that?
Thanks (2 Replies)
Discussion started by: cobroraj
2 Replies
6. Shell Programming and Scripting
Dear All
I have a simple bash script that creates a folder ( I called it TEMP) in the current directory.
The question is: how do I direct the output of my awk script into folder TEMP?
Below is my attempt:
#!/bin/bash
mkdir TEMP
echo Enter input file:
read infile
awk... (4 Replies)
Discussion started by: Ghetz
4 Replies
7. Shell Programming and Scripting
Is there a way to keep the output of a script displayed on the terminal when it's run by itself, but suspend part of that output and only have a specific part delivered when it's piped to another script or program? I'm thinking something like the following pseudocode:
#!/bin/bash
... (1 Reply)
Discussion started by: trigg
1 Replies
8. UNIX Desktop Questions & Answers
ps –xyz >/tmp/proc 2>&1
Can anyone explain what does '2' and '&1' will do here?
Thanks to explain (1 Reply)
Discussion started by: kkalyan
1 Replies
9. Shell Programming and Scripting
Hi,
I still have the problem with directing information from cat or grep to a variable.
For instance:
XMSG "$(date +%Y_%m_%d)_error_report.txt" "$(cat "$(date +%Y_%m_%d)_error_report.txt")" &Works! The text received by cat is directed to my function.
If it is written like this, my... (2 Replies)
Discussion started by: haukee
2 Replies
10. Shell Programming and Scripting
Hi All,
Have scheduled a cron entry to run once a week.
0 0 * * 1 /export/home/nz/history_load/prod/LoadManager.sh >>/dev/null 2>&1
Not sure, why this job did not got triggered last week. Want to know the reason behind not getting triggered.
I was re-directing the output of... (1 Reply)
Discussion started by: Nagaraja Akkiva
1 Replies
LEARN ABOUT REDHAT
ipfwadm-wrapper
IPFWADM-WRAPPER(8) IPFWADM-WRAPPER(8)
NAME
ipfwadm-wrapper - IP firewall administration
SYNOPSIS
ipfwadm-wrapper -A command parameters [options]
ipfwadm-wrapper -I command parameters [options]
ipfwadm-wrapper -O command parameters [options]
ipfwadm-wrapper -F command parameters [options]
ipfwadm-wrapper -M [ -l | -s ] [options]
DESCRIPTION
Ipfwadm-wrapper emulates the behaviour of ipfwadm. You can use this wrapper to use your old ipfwadm firewall rules with ipchains. See
ipfwadm(8) for more details.
If the kernel does not support ipchains (eg. a 2.0 kernel), and the file /sbin/ipfwadm.real exists and is executable, then it will be exe-
cuted with the arguments given to ipfwadm-wrapper. This allows simple dual-booting of 2.2 and 2.0 kernels with the same firewalling
scripts: simply move ipfwadm to ipfwadm.real, and ipfwadm-wrapper to ipfwadm.
SEE ALSO
ipfwadm(8), ipchains(8)
BUGS
The script isn't clever at parsing command line arguments. You must use separate arguments, rather than run them together. For example,
`ipfwadm -Mle' becomes `ipfwadm-wrapper -M -l -e'.
Fragment accounting rules are not translated correctly; they will account packets with source port 65535.
Due to new kernel restrictions, you must be root even to list rules for 2.2 kernels.
If /usr is mounted from NFS, you will not be able to use ipfwadm-wrapper before /usr is mounted.
AUTHOR
Paul ``Rusty'' Russell <ipchains@rustcorp.com>
February 8, 1998 IPFWADM-WRAPPER(8)