![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How Do I Navigate To A Directory??? | kprescod4158 | Shell Programming and Scripting | 2 | 01-20-2008 05:24 AM |
| home directory | nokia3100 | UNIX for Dummies Questions & Answers | 1 | 05-07-2007 02:16 PM |
| cd into home directory ~ | here2learn | UNIX for Dummies Questions & Answers | 4 | 04-12-2005 09:20 AM |
| c++ home directory?? | user666 | UNIX for Dummies Questions & Answers | 3 | 03-16-2002 09:49 PM |
| NFS mount home directory | larry | UNIX for Dummies Questions & Answers | 3 | 03-01-2002 04:40 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Can you navigate ABOVE the home directory?
Hello,
How do I navigate to the level ABOVE the home directory? I have the following structure on my drive, bearing in my I'm using a cygwin port on Windows. C:\ C:\cygwin C:\cygwin\bin C:\cygwin\otherfolders C:\cygwin\home (the home directory) C:\cygwin\home\H (my user directory) So for example, today I compiled a new version of rsync, and keeping in the spirit of trying to use cygwin as much as possible for Unix practice, how would I copy the new rsync.exe from: C:\cygwin\home\H\rsync.exe to C:\cygwin\bin\rsync.exe When the /bin folder is ABOVE the home directory? I did it using Windows Explorer, but could I have done it with cygwin? And yes, I'm aware of the /cygdrive/c/ option, would that be the only way? Thanks. H. |
|
||||
|
Hi, I got that. Thanks.
But on a 'normal' unix system could it be done? Or would the /home directory by default be above all the drives (similar to 'My computer' in Windows)? How would you access the root of your drives on a normal Unix system? sorry for my curiosity, it must be getting annoying by now ![]() H. |
|
|||||
|
cd .. will take you one level up the directory hierarchy (i.e. into the parent directory)
cd / will take you to the root directory (the top of the directory hierarchy) http://www.pathname.com/fhs/ Cheers ZB |
|
||||
|
There are two roots, one in the Windows world which really begins with "\\" and one in the cygwin world which begins with "/".
Imagine if your home directory was actually an NFS share. It would be mounted in your file system under "/home" but on the server it would be "/export/home" or similar. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|