Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 186463

Questions specific to GNU’s Bourne Again SHell, as opposed to other Bourne/POSIX shells. For questions about Unix shells in general, use the /shell tag instead.

4
votes
1answer
After running the command { sleep 5; } & output of ps is (output 1) PID TTY TIME CMD 972 ttys000 0:00.27 -bash 2556 ttys000 0:00.00 -bash 2557 ttys000 0:00.00 sleep … 5 while for ( sleep 5 ) & out of ps is (output 2) PID TTY TIME CMD 972 ttys000 0:00.28 -bash 2566 ttys000 0:00.00 sleep 5 () causes a subshell environment and I …
asked Mar 13 '18 by haccks
1
vote
1answer
I am wondering why ls -1 | while read file; do echo $file; tail -n 100 $file > >(sleep 1 && cat > $file) done is faster than ls -1 | while read file; do echo $file; tail -n 100 …
asked Mar 29 '18 by haccks
-1
votes
3answers
AFAIK, cat is an external command and it forks off a new process when executed, just like sh -c or executing a script. With that said I expect cat to use its command environment as it is used by othe …
asked Mar 12 '18 by haccks