cd man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

CD(1)			  BSD General Commands Manual			 CD(1)

NAME
     cd — change working directory

SYNOPSIS
     cd directory

DESCRIPTION
     Directory is an absolute or relative pathname which becomes the new work‐
     ing directory.  The interpretation of a relative pathname by cd depends
     on the CDPATH environment variable (see below).

ENVIRONMENT
     The following environment variables affect the execution of cd:

     CDPATH  If the directory operand does not begin with a slash (/) charac‐
	     ter, and the first component is not dot (.) or dot-dot (..), cd
	     searches for the directory relative to each directory named in
	     the CDPATH variable, in the order listed.	The new working direc‐
	     tory is set to the first matching directory found.	 An empty
	     string in place of a directory pathname represents the current
	     directory.	 If the new working directory was derived from CDPATH,
	     it will be printed to the standard output.

     HOME    If cd is invoked without arguments and the HOME environment vari‐
	     able exists and contains a directory name, that directory becomes
	     the new working directory.

     See csh(1) for more information on environment variables.

     The cd utility exits 0 on success, and >0 if an error occurs.

SEE ALSO
     csh(1), pwd(1), sh(1), chdir(2)

STANDARDS
     The cd command is expected to be IEEE Std 1003.2 (“POSIX.2”) compatible.

BSD				 June 5, 1993				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net