Find the answer to your Linux question:
Results 1 to 5 of 5
I am using Knoppix and i need help creating a directory called class and with creating a text file. can someone help...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    Need help creating directory and txt file

    I am using Knoppix and i need help creating a directory called class and with creating a text file. can someone help

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Hi. To create directories, you use the mkdir command. To create text files, use an editor e.g. nano, vim or a gui editor like Kwrite.

  3. #3
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    You should also be able to easily use the file manager (konqueror) in Knoppix to create directories from the GUI.

    For a quick tutorial on command line operations under Linux, take a look at:

    LinuxCommand.org: Learn the Linux command line. Write shell scripts.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    To create a directory use:

    Code:
    mkdir <DIRECTORY NAME>
    And to create a text file simply use:

    Code:
    touch <FILE NAME>
    Linux User #453176

  5. #5
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    james1980, if you still need help with this issue, please start a new thread. This one keeps attracting spammers, and I keep deleting their posts, so this thread will be locked.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •