Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. File-Naming Shortcuts > Directory Naming Shorthand

9.3. Directory Naming Shorthand

Both csh and tcsh provide a shorthand notation for referring to user account home directories, and tcsh provides a shorthand for referring to entries in your directory stack.

9.3.1. Referring to Home Directories Using ˜name

The shell interprets ˜ or ˜name at the beginning of pathnames to mean your home directory, or the home directory for user name. These shortcuts give you a quick way to refer to any user's home directory, without typing (or even knowing) the actual pathname. Thus, if I want to see what files carl has in his home directory, I don't have to know where that directory is; I just type the following command:


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint