10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
In production code, if using the whence command it picks the production file.if I am using the test code file. by using whence command it not picking the file. do you have any idea on this.
Whence prodcode
it picks the exact path of the prodcode.
whence testcode.
it... (1 Reply)
Discussion started by: ramkumar15
1 Replies
2. Programming
I just need some suggestions on how to start this program I wanted to work on for practice.
I want to make a cash register program that gives change and only works with $1's, $5's, $10's, and $20's (I might add cents in later for more practice).
Change should always be made with the largest... (9 Replies)
Discussion started by: totoro125
9 Replies
3. Programming
Hello All,
I am trying to write a small bash script to make my life easier for an analysis. I have multiple folders and inside them are 10 output files with an extension .pdbqt What I am trying to do is to read the folder content and then make a PyMol (.pml) file to load the molecules and then... (11 Replies)
Discussion started by: biochemist
11 Replies
4. UNIX for Dummies Questions & Answers
Hi,
There is a process ( built in C/C++) which starts with my user id and I need to execute a specific function with a different user id. Is there any api so that I provide userid, passwd and the next instance the process will have the new user id privileges.
- Pranav (3 Replies)
Discussion started by: k_pranava
3 Replies
5. Debian
Hi everyone, I have an issue with a project of mine. I have to run a program on a terminal which requires to be logged in as su to have it run it. Given that I'm having problem to use expect to give the password I'd like to change the privilege of that program from SU to normal user ( I have the SU... (13 Replies)
Discussion started by: gaisselick87
13 Replies
6. Programming
I am very new at programming and this is probably an easy question, but I am desperate. I need to change this low level code into a C program that I can run so I can print out every "A" that appears with the fork() command. You help is greatly appreciated.
PRINT A
p=fork()
if( p == 0) {... (0 Replies)
Discussion started by: tpommm
0 Replies
7. Shell Programming and Scripting
why does below program not work?
<> is producing nothing.. still waiting for input.. but i thought this would work?
#!/usr/bin/perl -w
use strict;
my @array2;
my @array1 = ("David Veterinarian 56", "Jackie Ass 34", "Karen Veterinarian 28");
$_ = @array1;
while (<>) {
... (4 Replies)
Discussion started by: hankooknara
4 Replies
8. Shell Programming and Scripting
hi,
Somebody have or known where i can find a perl small perl program to change the password.
The point: First it verify is the user exist, checking the old typed password and replace it with new. The passwords must be encoded.
Thanks, very much! (0 Replies)
Discussion started by: kad
0 Replies
9. UNIX for Dummies Questions & Answers
How do UNIX backup programs know which files to dump. Unlike Windows, UNIX files do not have the "archive" bit, yes? So, again, how does it know which file(s) to dump. Thanks in advance. (1 Reply)
Discussion started by: MayDHorseBwithU
1 Replies
10. Programming
I am new to the unix/linux environment.
AND........
I need to create a mini shell..that displays prompt (i.e., READY:$), accepts a command from std-in, and prints the command and any parameters passed to it. HELP!!!! (8 Replies)
Discussion started by: jj1814
8 Replies