
674
|
Chapter 6: The Bash Shell and Korn Shell
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
nohup
nohup command [arguments] &
Don’t terminate a command after logout. nohup is a Korn shell
alias:
nohup='nohup '
The embedded space at the end lets nohup interpret the following
command as an alias, if needed.
popd
popd [-n] [+count] [-count]
Bash only. Pop the top directory off the directory stack (as shown
by the dirs command), and change to the new top directory, or
manage the directory stack.
Options
-n Don’t change to the new top directory; just manipulate the
stack.
+count
Remove the item count entries from the left, as shown by dirs.
Counting starts at zero. No directory change occurs.
-count
Remove the item count entries from the right, as shown by
dirs. Counting starts at zero. No directory change occurs.
print
print [options] [string ...]
Korn shell only. Display string (on standard output by default).
print includes the functions of echo and can be used in its place on
most Unix systems.
Options
- Ignore all subsequent options.
-- Same as -.
-e Interpret escape sequences in argument strings. (This is the
default, anyway.) Use it to undo an earlier -r in the same
command line. ksh93 only.
-f format
Print like printf, using format as the format string. Ignores the
-n, -r, and -R options. ksh93 only.
-n Don’t end output with a newline.
-p Send string ...