Reputation
31,482
Next tag badge:
92/100 score
39/20 answers
Badges
5 47 91
Newest
 Enlightened
Impact
~2.0m people reached

May
2
awarded  Enlightened
May
2
awarded  Nice Answer
May
1
awarded  Good Answer
Apr
30
awarded  Enlightened
Apr
30
awarded  Nice Answer
Apr
7
awarded  Enlightened
Apr
7
awarded  Nice Answer
Mar
26
awarded  Great Answer
Mar
8
awarded  ssh
Feb
21
awarded  Guru
Feb
20
comment Something's special about /dev/fd/3
@CMCDragonkai Thy syscall open() uses the first free file descriptor. The calling application should not care about its number; that's why it is returned by the call.
Feb
11
awarded  Yearling
Feb
10
comment How while loop execute in the shell script for the FALSE condition?
@Tiger Your first example does show that the exit code of [ 5 -lt 10 ] is zero (i.e. true). echo [ $i -lt 10 ] is just an echo statement, the [ $i -lt 10 ] part has no meaning other than a string (or rather: several strings). echo always exists with zero no matter what the output string is.
Feb
10
comment How while loop execute in the shell script for the FALSE condition?
@Tiger I don't understand the question.
Feb
10
answered How while loop execute in the shell script for the FALSE condition?
Feb
10
comment Bash - Redirect output to a variable or file descriptor, then read from the variable or file descriptor
@CMCDragonkai I guess now I have what you need.
Feb
10
revised Bash - Redirect output to a variable or file descriptor, then read from the variable or file descriptor
added 161 characters in body
Feb
10
answered Bash - Redirect output to a variable or file descriptor, then read from the variable or file descriptor
Feb
9
revised Listing files with a certain extension
added 332 characters in body
Feb
9
answered Listing files with a certain extension