10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
2. 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
8 Replies
3. Shell Programming and Scripting
Hello folks!
I need help on this one:
I have this C known program which I need to save it as "power2.c", and create it as a file in my UNIX environment:
/* power2.c -- Print out powers of 2: 1, 2, 4, 8, .. up to 2^N */
#include
#define N 16
int main(void) {
int n; /* The current... (1 Reply)
Discussion started by: kinelisch
1 Replies
4. Programming
How to get the user name of the Operating system from an Informix 4gl program.
eg:-
-rw-r----- 1 gkuser srth1 292 Jul 27 19:28 u1.txt
i need to get gkuser as the result? (0 Replies)
Discussion started by: enriquegm82
0 Replies
5. Shell Programming and Scripting
Hi,
I am writing a script, and I need to incorporate some logic where I can find out the unix username of the person who is executing the script.
The issue is , a particular user could have "sesu" ed into a group id. for eg. root, and then executed the script. In that case, instead of root,... (5 Replies)
Discussion started by: neil.k
5 Replies
6. UNIX for Dummies Questions & Answers
Hi I am new to unix and I am trying to figure out how to write a shell script with a login name and password. I want to do something along the lines of if both are correct it echoes "you are logged in" and if the password is wrong it echoes "wrong password" and same with the login name. I've tried... (7 Replies)
Discussion started by: thedemonhunter
7 Replies
7. Shell Programming and Scripting
Hi,
I am facing a issue in one of my script, Please help me on the same. Below I have the example.
Example:
I have two functions(host(),user()) in a single file named test1.ksh
File Name: test1.ksh
host () {
HOST=`hostname`
echo... (1 Reply)
Discussion started by: samvino
1 Replies
8. 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
1 Replies
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
7 Replies
10. UNIX for Advanced & Expert Users
Hey Guys,
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.
Thanx much.....
Peace... (3 Replies)
Discussion started by: richardspence2
3 Replies