Timeline for What is the difference in using Ctrl+D and Ctrl+C to terminate cat command?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Jul 18, 2017 at 18:21 | history | suggested | GypsyCosmonaut | CC BY-SA 3.0 |
Content markup
|
| Jul 18, 2017 at 18:14 | comment | added | user996142 |
@Sonevol different. CTRL+D works like EOF and CTRL+C is intr (check stty -a for these settings of line discipline). Try cat > foo.txt. Type something, click CTRL+D and check foo.txt. Check it with CTRL+C then.
|
|
| Jul 18, 2017 at 18:05 | review | Suggested edits | |||
| S Jul 18, 2017 at 18:21 | |||||
| Jul 18, 2017 at 17:44 | comment | added | Sonevol | Apart from what are they according to definition is there any change in outcome or the outcome will always be the same, whichever method you use? | |
| Jul 18, 2017 at 17:41 | history | answered | Kaushik Nayak | CC BY-SA 3.0 |