u0012147@doc-1[2]_% script kadai8
Script started, file is kadai8
u0012147@doc-1[1]_% jobs -lcsh
Usage: jobs [ -l ]
u0012147@doc-1[2]_% ps -f
UID PID PPID C STIME TTY TIME CMD
u0012147 7400 7399 0 16:57:03 pts/18 0:00 sh -i
u0012147@doc-1[3]_% bc
scale=5
2^20
1048576
1234-3465
-2231
342/987
0.34650
^Z
Stopped (user)
u0012147@doc-1[4]_% jobs -csh
Usage: jobs [ -l ]
u0012147@doc-1[5]_% ps -f
UID PID PPID C STIME TTY TIME CMD
u0012147 7400 7399 0 16:57:03 pts/18 0:00 sh -i
u0012147 7424 7400 0 16:58:05 pts/18 0:00 dc -
u0012147 7425 7424 0 16:58:05 pts/18 0:00 bc
u0012147@doc-1[6]_% fg
bc
scale=3
147+111
258
345-777
-432
u0012147@doc-1[7]_% jobs lcsh
Usage: jobs [ -l ]
u0012147@doc-1[8]_% ps -f
UID PID PPID C STIME TTY TIME CMD
u0012147 7400 7399 0 16:57:03 pts/18 0:00 sh -i
u0012147@doc-1[9]_% exit
u0012147@doc-1[10]_% Script done, file is kadai8
u0012147@doc-1[3]_%