Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job control #4

Open
3 tasks
toro-nicolas opened this issue Feb 15, 2025 · 0 comments
Open
3 tasks

Job control #4

toro-nicolas opened this issue Feb 15, 2025 · 0 comments

Comments

@toro-nicolas
Copy link
Owner

Add job control :

  • &
    When appended to a command, it runs the command in the background.
    This allows you to continue using the shell while the command executes asynchronously.
    For example, "command &" will run command in the background.
  • fg
    Brings a background process into the foreground.
    If you have a process running in the background, you can use fg to bring it back to the foreground and make it the active process.
    For example, fg %1 will bring the job with job ID 1 to the foreground
  • bg
    Moves a foreground process to the background.
    If you have a process running in the foreground, you can use bg to move it to the background and allow it to continue running while you do other tasks.
    For example, bg %1 will move the job with job ID 1 to the background.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant