10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
I have a host(Suse Linux 10.4) which has 2 luns presented from 2 different arrays HP eva and xp. we are planning to migrate hp eva to 3par. When i look for physical volume i see /dev/dm-4, /dev/dm-5, /dev/dm-7and when i look for multipath -ll i see dm-8,dm-9,dm-7. So i can't confirm... (6 Replies)
Discussion started by: munna529
6 Replies
2. Programming
Here are two programs that pass a pointer to a variable but behave differently. Shouldnt the i in second program be 0 after the function call?
#include<stdio.h>
void changeI(int *i)
{
*i = 10;
}
int main(void)
{
int i=5;
printf("%d before\n", i);
changeI(&i);
printf("%d... (1 Reply)
Discussion started by: dragonpoint
1 Replies
3. UNIX for Dummies Questions & Answers
i have a file in a directory
ls -l gives -rwxr-xr--
so i typed the file name to execute it and i got no such file
but when i type . ./filename i can execute it
what does this . ./ do ?:confused: (15 Replies)
Discussion started by: mithun1!
15 Replies
4. UNIX for Dummies Questions & Answers
hi....,
can anyone tell me what is the exact difference between file descriptor and file pointer...... and why file descriptor takes integer value???:confused: (10 Replies)
Discussion started by: jimmyuk
10 Replies
5. Programming
Hi all,
Can anyone provide help with getting the right syntax regarding array/pointers in C in the following code? Can't locate a specific example which clarifies this...
Say I declare a typedef to an array of pointers to some type...
/**
* An array of ptrs to sections
*/
typedef... (4 Replies)
Discussion started by: gorga
4 Replies
6. Shell Programming and Scripting
Hello all,
I have a script that runs on both the test and production box. The script is owned by a user (abcd for example) with permission set to 700. When this script is run as a root, the log file generated has owner and group as abcdowner and abcdgroup respectively.
Now, when I run the same... (4 Replies)
Discussion started by: solaix14
4 Replies
7. Programming
Hello experts,
I ve a text file I want to go to particular line . what is the best way to do this in c ?
I am tried as follows
fseek ( fh, pos, SEEK_SET);
but this functions moves the file pointer according to a number of bytes. Unfortunately I don't know the exact byte... (7 Replies)
Discussion started by: user_prady
7 Replies
8. Programming
what is the difference between a file pointer and a file descriptor. (1 Reply)
Discussion started by: bankpro
1 Replies
9. Programming
hi all:
bankpro again,
i want to open a file and close it after an hour (i.e open and close the file ptr)
In the mean time i will be executing my jobs using the shell (CommandInterpreter).
plz help... :cool: (3 Replies)
Discussion started by: bankpro
3 Replies
10. UNIX for Advanced & Expert Users
Hello All,
I administer my department server and now Im assigned the job of installing a new server. The old server has no home directory but the user accounts are managed using a script and they are partitioned in /fs/grad, /fs/ugrad, /fs/fac, /fs/alumni. But when I finger for a... (1 Reply)
Discussion started by: maybemedic
1 Replies