Results 1 to 5 of 5

Thread: change directory

  1. #1
    Just burned his ISO
    Join Date
    Jul 2010
    Posts
    5

    Default change directory

    How to change to other subdirectory trough console if directory name is for example : "backtrack linux" ?
    Let said if name of directory is just "dog" then i just do "cd dog" and i am there.
    Sorry if this look stupid but i realy didnt figure it out.

    example:

    root@bt:~/HD#ls
    backtrack linux dog
    root@bt:~/HD#cd backtrack linux
    bash: cd: backtrack: No such file or directory
    root@bt:~/HD#cd dog
    root@bt:~/HD/dog#

  2. #2
    Member CKing's Avatar
    Join Date
    Mar 2010
    Location
    downtown, riverfront
    Posts
    83

    Default Re: change directory

    I don't think you're quite ready for Backtrack yet. I suggest you try a more user friendly version of linux first, such as Ubuntu. But to answer your question a "\" is required before the space to tell the command that there is a space in the path, you could also wrap the path in quotes.
    root@bt:~/HD#cd backtrack\ linux
    or
    root@bt:~/HD#cd "backtrack linux"

  3. #3

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    80

    Default Re: change directory

    tab completion should do it
    proud user of backtrack-ng and aircrack-linux

  5. #5
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: change directory

    I mean really?
    Just imagine what you could have done with google in the same time it took to compose this thread.
    Before you make another post here read all 3 links below and everything within them.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Similar Threads

  1. BT3 not seeing directory in sda1
    By shadedurza in forum OLD Pentesting
    Replies: 1
    Last Post: 03-10-2010, 03:35 AM
  2. How to change home directory
    By seanconnect in forum Beginners Forum
    Replies: 1
    Last Post: 02-03-2010, 01:29 PM
  3. Can't extract *.lzm to directory
    By kansai in forum OLD Newbie Area
    Replies: 7
    Last Post: 10-24-2008, 11:41 AM
  4. How to change boot up welcome screen to change info?
    By Gr33n3gg in forum OLD Newbie Area
    Replies: 2
    Last Post: 09-23-2008, 10:05 PM
  5. Directory help..
    By Acester in forum OLD Newbie Area
    Replies: 8
    Last Post: 08-13-2008, 03:12 AM

Posting Permissions

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