Ksh use (was Re: Should ``csh'' be part of ...)

Arthur David Olson ado at elsie.UUCP
Thu May 19 09:40:08 AEST 1988


> As long as we're talking about ksh, is there any way to do job
> control without typing fg (and bg)? In csh
> %2
> brings the second stopped job into the foreground; as I understand it,
> in ksh I have to do
> fg %2

As someone who made the switch from csh to ksh a while back. . .

	alias %1='fg %1'
	alias %2='fg %2'
	alias %3='fg %3'
	alias %4='fg %4'
	alias %5='fg %5'
	alias %6='fg %6'
	alias %7='fg %7'
	alias %8='fg %8'
	alias %9='fg %9'
	alias stop='kill -STOP'
-- 
    Canada's program is to spaceflight as the carrier pigeon is to mail.
	ado at ncifcrf.gov			ADO is a trademark of Ampex.



More information about the Comp.unix.wizards mailing list