Next / Previous / Index / ITC Help System / Publications / Site map / NM Tech homepage

What is a home-relative pathname?

Tech Computer Center logo

If you are using csh as your shell, there is a third method for forming pathnames to refer to files in other directories.

The tilde character (~) can be used to refer to your home directory, that is, the current working directory where you start after logging in. For example, the pathname ~/orchid refers to a file named orchid in your home directory.

You can refer to files in the home directories of other users by using a tilde followed by their account name. For example, pathname ~trixie/movies refers to a file named movies in the home directory of the user whose account name is trixie.


See also: What is a pathname?
Previous: What is a relative pathname?
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman, john@nmt.edu
Last updated: 1995/12/04 19:39:34 UT
URL: http://www.nmt.edu/tcc/help/unix/tildepath.html
QR two-dimensional bar code