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...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  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,393
    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 offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    848
    To create a directory use:

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

    Code:
    touch <FILE NAME>
    Linux User #453176

  6. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    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

Posting Permissions

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