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

[2023/11/14 21:15][NOT SOLVED][question] prompt> ./cpu A & ./cpu B & ./cpu C & ./cpu D & #1

Open
OccupyMars2025 opened this issue Nov 14, 2023 · 0 comments

Comments

@OccupyMars2025
Copy link
Owner

OccupyMars2025 commented Nov 14, 2023

OS: Ubuntu 22.04.3 LTS (Codename: jammy)

https://pages.cs.wisc.edu/~remzi/OSTEP/intro.pdf , page 4

https://github.com/OccupyMars2025/ostep-code/tree/master/intro

Question: what's happening under the hood ? Using Ctrl+C cannot halt the execution (Use Ctrl+D to exit the terminal)

clues :

Note how we ran four processes at the same time, by using the & symbol. Doing so runs a
job in the background in the zsh shell, which means that the user is able to immediately issue
their next command, which in this case is another program to run. If you’re using a different
shell (e.g., tcsh), it works slightly differently; read documentation online for details.
Ctrl+C seems to halt the execution of jobs running in the foreground
@OccupyMars2025 OccupyMars2025 changed the title [NOT SOLVED][question] prompt> ./cpu A & ./cpu B & ./cpu C & ./cpu D & [2023/11/14 21:15][NOT SOLVED][question] prompt> ./cpu A & ./cpu B & ./cpu C & ./cpu D & Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant