Search Results

Search: Posts Made By: sdsd
5,359
Posted By sdsd
thanks...I'll try that out and get back to...
thanks...I'll try that out and get back to you...for now, how I reach the pen drive is like this:
I go to the root folder, type 'media' and then 'disk'. That gets me into the pen drive.

P.S: The...
5,359
Posted By sdsd
Hey, thanks a lot for the reply....could I get a...
Hey, thanks a lot for the reply....could I get a confirmation about the Fedora part? One more thing....should I navigate into the root directory of the pen drive and then type mkfs.fat32 or can I do...
5,359
Posted By sdsd
Do I need to change the permissions from 'root'...
Do I need to change the permissions from 'root' to something else? If so, how?
5,359
Posted By sdsd
Well, Fedora doesn't provide the option to format...
Well, Fedora doesn't provide the option to format a pen-drive.
As for mkfs, I'm worried if it'll format the pen drive in some format that I won't be able to use it on a windows system again.......
5,359
Posted By sdsd
Post mortem of a virus :)
Hi,

My pen-drive got infected with a virus when I used it on a windows system.

When working on a fedora system, I could view the files that the virus created, and the virus exe file itself.
I...
2,078
Posted By sdsd
Thanks :) I had a feeling it could be a null...
Thanks :) I had a feeling it could be a null thingy....but didn't expect C to actually support that :)
2,078
Posted By sdsd
a for loop that doesn't make sense
I've been referring bash info for processes and came across a structure for a process which is defined like
typedef struct process
{
struct process *next;
char ** argv
.
.
.
}process;
...
10,688
Posted By sdsd
Thanks...scanf seems to have some problems...
Thanks...scanf seems to have some problems though...on creating a child, if scanf had taken in a line, the child ignores scanf.
Forum: Programming 09-24-2008
3,528
Posted By sdsd
Running an executable file
I've created a c program and compiled it with gcc, in unix.
The file name is abc.c and it is run by typing the command ./abc

I have another program which creates a child process, and I need this...
10,688
Posted By sdsd
There's a teensy problem with using the...
There's a teensy problem with using the scanf("%[^/n]...);
What happens is that if I take a line input and create a child process, the child process doesn't even pause at the scanf line. It just...
10,688
Posted By sdsd
Thanks Jim...I'm using C on Unix. Is fgets() a...
Thanks Jim...I'm using C on Unix.
Is fgets() a good option? Coz we have to specify the size of the characters, right? What if the user types an extremely long line?
I've been considering scanf, and...
4,023
Posted By sdsd
I had that question too. Referred "man ps" and...
I had that question too. Referred "man ps" and found it there. I recommend you have a look at it too.
It's something about the percentage process run time to the cpu time taken by the process.
10,688
Posted By sdsd
getline to read input from a user
Hi,
The gcc compiler has warned about using gets(), so I've been trying my hand at getline.
Problem is that I've been able to read from a file, but what I really need is to read from a user's...
8,658
Posted By sdsd
Thanks :) I had tried the while loop...
Thanks :) I had tried the while loop already....works great :)
8,658
Posted By sdsd
I had the idea that I'd have to keep taking...
I had the idea that I'd have to keep taking command line arguments from the user, just like the command prompt of bash keeps accepting commands.
But in order to take command line inputs, I'd have to...
8,658
Posted By sdsd
Yeah, it's just for learning how these shells...
Yeah, it's just for learning how these shells work. Been a windows user for long...heard unix gives more power to the programmer. Thanks! :)
8,658
Posted By sdsd
Thanks Annihilannic! Performance is important...
Thanks Annihilannic!
Performance is important to me. I guess C would be better then.

ok, so shell scripting is done in C? I was under the impression that it was with using those echo commands etc...
8,658
Posted By sdsd
Java or C for creating a unix shell?
Hi,

Great to find this forum!
I'm a complete newbie to unix, and am having a hard time finding my way around.
Firstly, I've been reading something about c shell programming being one tenth the...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 10:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy