Skip to main content
12 events
when toggle format what by license comment
Apr 9, 2024 at 12:56 comment added Anton Samokat @Archemar Interesting that if pipe is used the current shell will not be closed. Example: ( echo 1; exit; echo 2; ) | less. In less will be shown 1. Checked in bash shell.
Mar 4, 2016 at 21:36 history closed Wildcard
Jakuje
Anthon
Gilles 'SO- stop being evil'
vonbrand
Duplicate of What are the shell's control and redirection operators?, bash if not multiple conditions without subshell?
Mar 4, 2016 at 21:26 history edited Gilles 'SO- stop being evil'
edited tags
Mar 4, 2016 at 18:31 comment added user79743 Both of them are Grouping Commands, but { list; } executes commands in current shell environment.
Mar 4, 2016 at 18:30 comment added user79743 This is the closest answer I found in the web. The exact issue has not been explained in this site.
Mar 4, 2016 at 17:48 review Close votes
Mar 4, 2016 at 21:36
Mar 4, 2016 at 17:36 vote accept Nelske
Mar 4, 2016 at 17:10 comment added Archemar try inserting exit ; between the du.
Mar 4, 2016 at 17:10 comment added don_crissti See Grouping Commands under 2.9.4 Compound Commands
Mar 4, 2016 at 17:07 answer added schily timeline score: 51
Mar 4, 2016 at 17:06 review First posts
Mar 4, 2016 at 18:13
Mar 4, 2016 at 17:03 history asked Nelske CC BY-SA 3.0