How can I make a function interactive when using commands like ssh and less inside of a function?
function spo{
ls | less
}
For example how can I interact with less?
|
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
Note that the If you want to create a shell function which overrides a native command, then have the shell function invoke the native command, use the
See the shell man page section on shell builtins for a description of |
|||
|