O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

: null command; returns zero exit status
. file read and execute commands in file
break exit from current enclosing for, select, until, or while loop
break n exit from nth enclosing for, select, until, or while loop
cd dir change directory to dir(default $HOME)
cd dir1 dir2 change to directory where dir1 in current pathname is substituted with dir2
cd – change directory to previous directory
echo args display arguments
eval cmds read and execute commands
exec I/O-redirection-command perform I/O redirection on file descriptors
exec command replace current process with command
exit exit from current program with exit status of the last command. If given at command prompt, terminate the login shell.
exit n exit from current program with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required