close

Any Linux command can be ran in the background by putting a "&" at the end of the command.

e.g.
find / -name my_file.htm
&

To display the status of background tasks by entering "jobs" command.

To move the running forground task to the background without exiting the task:
CTRL-z     (however, the program would stop at this moment)

translating it to running in background by typing "bg"  or
"fg n  (where n is the number of the running jobs)".

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 DanBrother 的頭像
    DanBrother

    DanBrother的部落格

    DanBrother 發表在 痞客邦 留言(0) 人氣()