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

Testing & #24

Closed
katherinegallaher opened this issue Aug 6, 2014 · 1 comment
Closed

Testing & #24

katherinegallaher opened this issue Aug 6, 2014 · 1 comment

Comments

@katherinegallaher
Copy link
Contributor

I'm trying to do what Mike said in lecture today to test &, trying "cat /dev/random > rand &"
and > doesn't seem to work? It does not create a file called rand but it kind of does run in the background, the random numbers still show in the terminal but it allows me to write in commands.
Is there a reason that output redirection does not work ?

@mikeizbicki
Copy link
Owner

hmmm... my example wasn't as good as I thought it was. Output redirection is a feature of the bash shell, and something you'll be implementing in a future homework assignment. That's why it's not working.

Based on the description of your output, it sounds like cat is being correctly sent to the background. You can kill the process using the kill command to stop the random characters being printed.

This issue was closed.
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

2 participants