By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,982 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,982 IT Pros & Developers. It's quick & easy.

A Help in learning C in Linux

P: 4
Hi All,

Please forgive if I am asking something which looks not good and must tell me if so. PLZ

Actually I am looking for the good tutorials for C in Linux. I have some bit basic knowledge in C but regarding C in Linux I am getting into troubles. Actually I lost touch with C for more than one year :(

Now I have done some programs(simple one to print triangle and so) on my free time which is working fine and gave me some confidence to move with this.

Can anyone help me by providing some commands which I can use in Linux USING C to create directory and so.

If anyone can provide some links which help me to gain this I will be greatful.

Thanks a lot for spending time to look on my post.

Abhilash V Nair
Aug 8 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 463
You're programming requirements are taking you away from the normal C compiler library routines. On linux, there are also sets of system routines that can be called by a C program.

To create a directory you want to use the mkdir routine which can be accessed by the header file:
#include <sys/stat.h>

You can also get more information on mkdir via the man command.

Try: man 3p mkdir (this works on my system). If this doesn't work, try: man -k mkdir. This will tell of any and all mkdir references.

man man will tell you how to use man.
Aug 9 '07 #2

P: 1
You cn use this learn basic commands in linux...
y dont u go to google n type linux commans ..u will find severals links realatd to what u r searching for,i hav giv just two of them ....
Aug 10 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.