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

[Pipe and Folters] Missing explanation how to run the interactive shell. #1352

Open
soerenPeters opened this issue Jan 10, 2023 · 5 comments

Comments

@soerenPeters
Copy link

In chapter Pipe and Filters - Section - Why Isn't it Doing Anything?:

The section explains why the incomplete command (wc -l) apparently does nothing and waits for further input. According to the explanation, this can then be terminated with CTRL C. So far so true.

I was wondering if it wouldn't be good to mention here how to provide interactive input and send it with CTRL - D properly.

@bkmgit
Copy link
Contributor

bkmgit commented Jan 10, 2023

Maybe as in an optional callout section?

@gjcooper
Copy link

I like the idea about an optional call out section. I find when I teach this, at least 50% of the time I find myself mentioning Ctrl+D and manual input anyway. I could draft a PR to get a feel for how that would look, perhaps with a reference to the callout later in the lesson when pipes are introduced.

@bkmgit
Copy link
Contributor

bkmgit commented Jan 11, 2023

@gjcooper A PR is greatly appreciated.

@sabaferdous12
Copy link

sabaferdous12 commented Jan 19, 2023

Agreed - I would like to see the functioning of Ctrl+D in a callout as I could not understand how it works and provides interactive inputs on the unix shell.

@giselatt
Copy link

So far I have only been a helper once for the Unix Shell lesson, and I was actually asked about how manual input works (and was very happy that I could answer the question). Would be great to have it included in some way.

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

5 participants