473,473 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

A Help in learning C in Linux

4 New Member
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.

---
Regards,
Abhilash V Nair
Aug 8 '07 #1
2 1253
RRick
463 Recognized Expert Contributor
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
Anil Chowdhury
1 New Member
You cn use this link...to 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 ....

http://www.debianhelp.co.uk/commands.htm

http://www.ss64.com/bash/
Aug 10 '07 #3

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

Similar topics

6
by: James | last post by:
I'm looking for some advice in teaching myself how to program. I just finished reading O'Reilly's Practical C++ Programing. I can do anything that was convered in the book very comfortably...
4
by: gustave | last post by:
I would like to be able to get a bit more involved in the coding of Linux. I have not dabbled in programming other than Perl and Bash. So some questions for the experts: Is Linux (kernel and...
4
by: jester.dev | last post by:
I am learning c through an online tutorial currently. And I am running Linux, but the tutorial does not deal specifically with linux. I'm not sure if I am compiling correctly or not because I get...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
1
by: uli2003wien | last post by:
Dear group, i am a seasoned DB2-veteran (6 years exp.) on the Windows- and Linux-Server platform. Once in a while i had a look into DB2 on the mainframe but mostly only watching other people do...
26
by: mfasoccer | last post by:
I am sorry if this is an inappropriate place to put this post, if so please delete it. I am wondering about a few things. Do you guys recommend learning C as a second language, as someone who...
7
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that...
1
sashi
by: sashi | last post by:
Hi everyone, anyone interested in learning Linux Administration http://www.linuxhomenetworking.com/wiki
12
by: Peter | last post by:
Hi Complete ass here trying to get his feet wet in .NET programming. I want to start easy, understanding what is talked about. Which of these two would be a better choice, if same, which one is...
26
by: K.J.Williams | last post by:
Hello, A friend and I want to learn PHP but we have two totally different programming backgrounds. I have experience with procedural programming in C, and he has experience with Visual BASIC....
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.