Thread: Mkdir

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    16

    Mkdir

    I'm trying to make a folder, set that as the current directoy and create folders and files in that directory. When i used windows, I just used <direct.h> and mkdir(). But now that im not linux i can't do that, does anyone know how to make a folder and set that as the current directoy in linux?

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    The same function. use google "man mkdir"

    http://www.hmug.org/man/2/mkdir.php

    and to set the current directory

    http://bama.ua.edu/cgi-bin/man-cgi?chdir+2
    Last edited by Ancient Dragon; 03-06-2006 at 03:00 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Out of space when compiling kernel
    By NuNn in forum Linux Programming
    Replies: 3
    Last Post: 04-01-2009, 02:43 PM
  2. mkdir - solaris 10
    By StevieT in forum C Programming
    Replies: 4
    Last Post: 08-17-2006, 03:36 AM
  3. mkdir() Directory already exists?
    By rkooij in forum C Programming
    Replies: 1
    Last Post: 03-27-2006, 09:42 AM
  4. mkdir() question
    By Rogue5 in forum C Programming
    Replies: 1
    Last Post: 04-07-2005, 09:41 AM
  5. mkdir and multiple directories
    By Idle in forum C Programming
    Replies: 4
    Last Post: 06-28-2003, 04:56 AM