07-06-2005
thanks
Thanks. Your advice is very helpful.
10 More Discussions You Might Find Interesting
1. Programming
Just getting into the Unix command line programming and am unable to run any program I write. I am using a Makefile and the source is compiling but when I enter the name of the output file I get back:
bash: lab01exe.out: command not found
I'm sure I am just dooing something simple... (2 Replies)
Discussion started by: Krebsbac
2 Replies
2. Shell Programming and Scripting
How can I make a program run automatically at a certain time of day?
My problem is I need to make a small backup program that will back up a few files every day? (3 Replies)
Discussion started by: jvadn0
3 Replies
3. UNIX for Dummies Questions & Answers
Hi.Iam new to Linux.i got linux 7.0 pro and dont know how to run programs. I want a perl interputer and i know i installed one but how do i run it ??? Also how do i run a C or C++ editor ?and how do i run cron ? (3 Replies)
Discussion started by: perleo
3 Replies
4. UNIX for Dummies Questions & Answers
Hi there! I tried to search for something like this here but couldn't find anything. I need to run a specific program when linux starts up. I need to run it after the rp-pppoe has started because this prog needs internet connection.
I start the program by entering ./dynix start (its in my home... (4 Replies)
Discussion started by: D-Lexy
4 Replies
5. Shell Programming and Scripting
Folks,
I'm really new to scripting and was wondering if you could help me out. I have the following script that I inherited:
#!/bin/bash
#
# Usage
# From the agent directory:
# ./run-any-agent AgentName
#
TAC_AGENT_HOME=`pwd`
LIB=${TAC_AGENT_HOME}/lib
CLASSPATH=.... (17 Replies)
Discussion started by: DTriniWay
17 Replies
6. UNIX for Dummies Questions & Answers
Hello
i'm trying to make a program which can find a running program on the system and kill it, then repeat that every 5 minutes. The name of the process is given with an argument. I have done this so far, but still not working.
if $1 in $(ps -e) ; then
kill $(pidof $1)
sleep 5m
fi (3 Replies)
Discussion started by: petel1
3 Replies
7. Shell Programming and Scripting
Hi All,
How to run c# program using shell script ? (1 Reply)
Discussion started by: srikar.ch
1 Replies
8. UNIX for Advanced & Expert Users
Hello everyone.
I am logged into a computer through ssh. I would like to run a program and have it keep running after I log out without screen (i forgot to run it).
For example:
ssh server
user/comp~$ top &
12021
exit
after that:
ssh server
user/comp~$ (something, maybe shell... (5 Replies)
Discussion started by: lepetal
5 Replies
9. Shell Programming and Scripting
I want to run a C program from my BASH script. Here's some very basic simplified code of my bash script:
#!/bin/bash
echo "Run C program"
./main.c
echo "Ran C program"
Here's my main.c:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv)
{
... (3 Replies)
Discussion started by: millsy5
3 Replies
10. Solaris
Hi all,
I have written the following program and run on both T5440 and T5220 on same OS version. I found that T5540 server takes more time than T5220. Please find below the details.
test1.cpp
#include <iostream>
#include <pthread.h>
using namespace std;
#define NUM_OF_THREADS 20... (17 Replies)
Discussion started by: sanjay_singh85
17 Replies
LEARN ABOUT DEBIAN
avr-run
run(1) GNU Tools run(1)
NAME
run--Simulator front-end
SYNOPSIS
run [-v] [-p freq] [-m memory] [--sysroot filepath] program
DESCRIPTION
Use `run program' to execute a binary by interpreting machine instructions on your host computer.
run is the same emulator used by GDB's `target sim' command. You can run it directly by executing run if you just want to see your program
execute, and do not need any debugger functionality. You can also use run to generate profiling information for analysis with gprof.
OPTIONS
-v Verbose output. Display the name of the program to run before execution; after execution, display the number of instructions exe-
cuted, the number of machine cycles emulated, the number of pipeline stalls, the real time taken, the emulated execution time taken,
and a summary of how much profiling information was generated.
-p freq
Generate profile information (for use with gprof). freq is the profiling frequency. Write the profiling information to a file
called gmon.out.
-m memory
Set the memory size for the emulated machine to two to the power memory. The default value is 19, emulating a board with 524288
bytes of memory.
--sysroot filepath
Prepend filepath to all simulator system calls that pass absolute file paths. Change working directory to filepath at program
start. Not all simulators support this option; those that don't, will ignore it.
SEE ALSO
`gprof' entry in info; `gdb' entry in info; Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch.
COPYING
Copyright (c) 1993, 2000, 2012 Free Software Foundation, Inc.
This document is distributed under the terms of the GNU Free Documentation License, version 1.1. That license is described in the sources
for this manual page, but it is not displayed here in order to make this manual more consise. Copies of this license can also be obtained
from: http://www.gnu.org/copyleft/.
GNU Tools 13oct1993 run(1)