next up previous contents
Next: find - Find files Up: Other Useful Commands Previous: du - Disk usage   Contents

fg - Move job to foreground

Move job from background to foreground where it can take input from standard input. Example:-
vi myfile &
...
fg

Run vi in background (which is silly as it needs standard input) and then bring it to foreground so it can actually be used!



P.D. Gronbech (IT Staff) 2015-10-02