Using the Korn Shell

Change to specified directory

cd dirpath

Change to parent directory

cd ..

In addition to the functions of the UNIX cd command shown above, the Korn shell provides some additional functions:

Change to previously accessed directory

cd -

Change to similarly named directory

cd string1 string2

replaces "string1" in the current directory path with "string2" and changes to the resulting directory

Next: echo 

Home > Computers > Operating Systems > UNIX > Shell > Korn > Regular Built-ins > cd

Viewing mobile website page. Switch to WML or Full HTML