$jobtexts  –  Mapping of job number to command line

$jobstates maps job numbers to the command line used to start a job.

Examples

Run job and print job command line
1
2
ping -c 10 1.1.1.1 >/dev/null &                                                                                                                    ~
typeset jobtexts
Output:
1
2
[1] 288507
jobtexts=( [1]='ping -c 10 1.1.1.1 > /dev/null' )
BashSupport Pro is a Zsh IDE with support for $JOBTEXTStry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal