Results 1 to 6 of 6
  1. #1
    mac*
    Guest
    Help About Terminal!
    i have store some files in macintosh HD (the icon on the desk)/computer science/hello.
    then i startup the terminal, and i type "ls" and other commands, but i still can not access there(macintosh HD (the icon on the desk)/info/hello.)
    How can i access that file named hello, when i am using termianl, thX

  2. #2

    witeshark's Avatar
    Member Since
    Mar 09, 2004
    Location
    Miami FL
    Posts
    2,860
    Specs:
    G4 1Ghz OS X 10.4.7
    You should have no trouble listing that file ifyou have the right file path included in ls

  3. #3

    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    When you open a new terminal window, the directory it is set to by default is your user's home directory. If you want to go up a directory, type "cd .." - that will take you to the Macintosh HD/Users folder. Type it again and you'll get to Macintosh HD. From there you should be able to type 'ls' and see your computer science folder there. Type cd "computer science"/hello to get to your 'hello' directory.

    However, I suggest you move your files to your user's directory somewhere (maybe documents?) if you don't want other users to be able to access the files.
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  4. #4

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Groves, Texas
    Posts
    4,550
    Specs:
    21in. iMac 10.11 --- HP win 10
    You can also type "cd /" to get to the root of the drive and go from there.

  5. #5
    CaptainMack
    Guest
    i thought cd ment "change directory"

  6. #6

    muso's Avatar
    Member Since
    Jan 15, 2003
    Location
    Whangarei, New Zealand
    Posts
    2
    Specs:
    Pwnt
    Yes, it does. If you type cd without any arguments then it'll take you to your home folder. Basically the format is "cd directory/subdirectory"
    I'm in your forums, writing sentences in a grammatically acceptable manner.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Month in Terminal is in Russian - only in Terminal!
    By yoandrew in forum OS X - Operating System
    Replies: 4
    Last Post: 12-29-2012, 09:20 AM
  2. Terminal Help?
    By gts1117 in forum OS X - Operating System
    Replies: 2
    Last Post: 08-20-2012, 09:25 AM
  3. Terminal Help
    By LMCLUMD in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 06-15-2011, 04:08 AM
  4. help!! terminal os 10.5.8
    By alcohol in forum OS X - Operating System
    Replies: 10
    Last Post: 04-10-2011, 12:35 PM
  5. using terminal
    By mayflyTR in forum OS X - Operating System
    Replies: 3
    Last Post: 08-22-2010, 05:56 PM

Posting Permissions

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