9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I created a program, so a kid can practice there math on it. It dispenses varies math problems and the kid must input an answer. I also want it to grade the work they have done, but I can't find the best place for it to print out the grade.
I have:
if ( $response =~ m/^/ ) {
$user_wants_to_quit... (1 Reply)
Discussion started by: germany1517
1 Replies
2. AIX
Dear Sirs:
Good afternoon, my name is Javier.
I´m new to Unix and I am working as a Linux Server admin in an ISP from Argentina.
I´m want to in learn AIX, and find interesting information about it on some IBM Redbooks.
I would like to know if is there any possibility to Virtualize an AIX... (8 Replies)
Discussion started by: xavinux
8 Replies
3. Homework & Coursework Questions
Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies
4. Shell Programming and Scripting
Folks! Anyone please explain the behavior of this program step by step. Thanks.
#! /usr/bin/perl
$testfile = "./testfile2";
for ( $i = 1, $i <= 5, $i++) {
open ($FILE, ">", $testfile);
print ($FILE "Output 1 \n");
close ($FILE);
}
print "The value of (4 * 2) / 2 is ";
print (4 * 2)... (1 Reply)
Discussion started by: huko99
1 Replies
5. Shell Programming and Scripting
Hi All,
I am facing an issue. I need your advise. I want to take my unix skills to the next level. I want to verse in scripting now. I got some understanding of programming. I did a little bit of C++, Assembly in College.
I got some basics in perl. I am wondering if It would be best to... (3 Replies)
Discussion started by: Pouchie1
3 Replies
6. UNIX for Dummies Questions & Answers
Is there any book/resource that one can refer to, to be able to write programs at kernel/system level.. I'm looking for a programming book that could serve as a guide to write kernel codes / system level programming etc..
I have Tannenbaum's Design and Implementation. It addresses theoretical... (2 Replies)
Discussion started by: vishwamitra
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys, I have recently started a new job at quite a large company. Part of my daily role is to grep for processes, kill them when they're failing and restart them etc. Also editing config files in Vi mode.
I have become quite interested in Unix and am currently studying for the Sun Certified... (1 Reply)
Discussion started by: JayC89
1 Replies
9. UNIX for Dummies Questions & Answers
can i do this? i am learning this on my own..and from the book..simple unix i am not sure if the syntax would work
if
statement
then
statement
do or for or while
statement
done
else
statement
fi....
I dont know how else to explain that...I hope I... (2 Replies)
Discussion started by: jonas27
2 Replies