10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
have been trying for a few weeks not to get this program running. I am newer to programming and it has definitely been a challenge. I think my problem arises with my if statement. I can get it to append the name to the new file, but it simply appends the whole sequence to the file rather than... (3 Replies)
Discussion started by: haley6719
3 Replies
2. Programming
Subject: Debugging a program written in two languages
Platform: Linux (Kubuntu)
I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb.
I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies
3. Shell Programming and Scripting
I have a bash script that launches another problem. I need to run that program under a certain user account. The script itself is run using 'sudo <scriptname>'.
#!/bin/bash
myprogram=...
exec "$myprogram"
How would this be done? (1 Reply)
Discussion started by: Carson Dyle
1 Replies
4. Programming
We have recently downloaded, installed and compiled gcc-3.0.4 code. gcc compiler has built successfully and we where able to compile some same test cpp file. I would like to know how we can modify gcc source code so that we add additional run time debugging statements like the binary in execution... (4 Replies)
Discussion started by: uunniixx
4 Replies
5. UNIX for Dummies Questions & Answers
Hey, im editing the passwd file so that when the user ben logs in it runs my assign program.
I changed the last column from
to
Then when i log in i get...
There is no problem with the program because it runs fine when i open it normally.
Any help much appreciated. (8 Replies)
Discussion started by: RAFC_99
8 Replies
6. Programming
I have made use of 'valgrind' and -finstrument-functions compiler option for debugging / analyzing code. Both the options lets us know the line / file being executed to some extent.
Is there a generic way that lets program dump the file:line it is getting executed dumped to a log file during... (3 Replies)
Discussion started by: uunniixx
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a program in /opt/local/bin, my path in my .profile is
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
however when i type the program name it cannot find it, however i know the program is in /opt/local/bin?
Thanks (2 Replies)
Discussion started by: c19h28O2
2 Replies
8. Shell Programming and Scripting
Hello all sorry didnt know where to post it
i compiled simple program that using "System.getProperty("user.dir");"
now i compiled the program under directory foo and and its running great when i do "java myapp"
i included this directory in the $PATH env variable so i could see it fro any where... (1 Reply)
Discussion started by: umen
1 Replies
9. UNIX for Advanced & Expert Users
Can anyone tell the commands we use for debugging a programm in dbx with explanation for each?
Iam totally new to unix environment (3 Replies)
Discussion started by: bogarams
3 Replies
10. UNIX for Dummies Questions & Answers
Please help, I have tried to run this program countless times and still nothing. Please tell me what I'm doing wrong.
$ cat>test
count=1
while
do
echo "5"
read number
echo $5
let count=count+ 1
done
exit 0
^C$ ksh test
$ ^C
$ ksh test
$
$ nothing happend (6 Replies)
Discussion started by: ctiamaria
6 Replies