While a process is running you can determine the terminal (if any) with the ps command. After the command is finished, TMK there is no record of it ever executing, let alone on which terminal, unless the command logs it itself (and most don't!). If the command was run interactively there may be a record of it in the user's history file, but that depends on settings and usually isn't recorded immediately.
|