Thread: Help About Terminal!
09-03-2004, 11:21 PM #1mac*GuestHelp 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
09-03-2004, 11:30 PM #2
You should have no trouble listing that file ifyou have the right file path included in ls
09-03-2004, 11:33 PM #3
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.
09-04-2004, 12:18 AM #4
- Member Since
- Feb 14, 2004
- Groves, Texas
- 13in macbook - 10.11 --- 21in. iMac 10.11 --- HP win 8
You can also type "cd /" to get to the root of the drive and go from there.
09-04-2004, 08:28 PM #5CaptainMackGuest
i thought cd ment "change directory"
09-04-2004, 09:30 PM #6
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By yoandrew in forum OS X - Operating SystemReplies: 4Last Post: 12-29-2012, 10:20 AM
By gts1117 in forum OS X - Operating SystemReplies: 2Last Post: 08-20-2012, 10:25 AM
By LMCLUMD in forum OS X - Development and DarwinReplies: 1Last Post: 06-15-2011, 05:08 AM
By alcohol in forum OS X - Operating SystemReplies: 10Last Post: 04-10-2011, 01:35 PM
By mayflyTR in forum OS X - Operating SystemReplies: 3Last Post: 08-22-2010, 06:56 PM