10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Do not know how to implement this into a script in Unix?:confused:
2. Relevant commands, code, scripts,... (8 Replies)
Discussion started by: kinelisch
2. 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:
echo "Run C program"
echo "Ran C program"
Here's my main.c:
int main(int argc, char *argv)
... (3 Replies)
Discussion started by: millsy5
3. Homework & Coursework Questions
I am a newbie to UNIX. I'm learning UNIX on my own, just trying to get the jerk of how things work in UNIX environment. I am familiar with Windows environment.
Can anyone pls write simple 'envprint' programs to :
1) List all the environment Information (using the -l or --l options)
2) ... (1 Reply)
Discussion started by: agup17
4. UNIX for Advanced & Expert Users
Write a C socket program on UNIX where a TCP client sends/reads a
time in decimal 24 hours format to the server and the server echoes the
seconds, minutes, and hours in the time.
Example: Client sends 18.78 hours and the server displays 18 hours, 46
minutes and 48 seconds. (1 Reply)
Discussion started by: adi_always4u143
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs in unix
i need a very short and simple one, just the compiling part
Respect (2 Replies)
Discussion started by: zlatan005
6. UNIX for Dummies Questions & Answers
Is there a program out there than runs like the UNIX operating system except in Window mode on Windows XP? Kind of like command prompt cmd.exe? (1 Reply)
Discussion started by: threewingedfury
7. Shell Programming and Scripting
Write a shell program that takes one or any number of file names as input; sorts the lines of each file in ascending order and displays the non blank lines of each sorted file and merge them as one combined sorted file. The program should generate an error message in case any input file does not... (1 Reply)
Discussion started by: kumar_saurabh
How to get the user name of the Operating system from a c program.
-rw-r----- 1 gkuser srth1 292 Jul 27 19:28 u1.txt
i need to get gkuser as the result? (3 Replies)
Discussion started by: Rajeshsu
9. UNIX for Dummies Questions & Answers
I am trying to set up a file for someone and they have a program that was built for UNIX. I am guessing that it is running in some sort of emulator since they are on WinXP. It is a database and we are trying to get all of the addresses out of the database. I talked to the tech support for the... (7 Replies)
Discussion started by: brand1m
10. UNIX for Advanced & Expert Users
Does anyone have a copy of a c-program which saves/writes files to a sub-directory within the home directory which uses the prototype::: save (char* filename, char* directory_name)::: if at all possible, could share that syntax with me please.
Peace... (3 Replies)
Discussion started by: richardspence2