174 reputation
9
bio website
location
age
visits member for 2 years, 9 months
seen Jul 14 at 6:03

Jul
3
awarded  Popular Question
Oct
31
awarded  Popular Question
Sep
15
awarded  Popular Question
Sep
11
awarded  Popular Question
Jun
27
awarded  Popular Question
Aug
27
comment What's the difference between STDIN and arguments passed to command?
I man man and find the one in my OS doesn't support it. Anyway, thanks for this declaration of these two concepts for me.
Aug
27
accepted What's the difference between STDIN and arguments passed to command?
Aug
27
awarded  Commentator
Aug
27
comment What's the difference between STDIN and arguments passed to command?
Thanks for this detailed explanation. For your last few paragraphs, you mentioned use man -l - < file_name to make man interprets STDIN as arguments, but it fails in my system with the STDERR: man -l - < tee man: invalid option -- l man, version 1.6c
Aug
27
comment What's the difference between STDIN and arguments passed to command?
@MichaelMrozek Thanks for this clarification. The purpose I used man < file_name is to help myself understand this two concepts. Reading you explanation, the implementation is decided by the command author. So if I under right, the find takes arguments rather processes STDIN?
Aug
26
asked What's the difference between STDIN and arguments passed to command?
Aug
26
comment redirection and pipeline
I see, it is different from foo 2>&1 >filename.
Aug
26
comment redirection and pipeline
I am a little confused with the paragraph which starts with 'On that topic, note that redirections are processed from left to right......' on the 2. section. I found this statement conflicts with your later explanation. To apply this principle to the foo >filename 2>&1, does it mean, it first redirect the stdout to filename and then redirect stderr to whatever file descriptr stdout is connectted to?
Jul
20
comment Using VI keys to edit shell commands in UNIX
@jahroy that helps:) Thanks. I want to use jj to behave the same as pressing ESC.
Jul
20
comment Using VI keys to edit shell commands in UNIX
They, is there a way to bind jj with ESC as we usually do in vim ?
Apr
3
comment How to direct bash network request through a socket5 proxy?
I encourted the Unsupported scheme socks5'` error.
Apr
2
asked How to direct bash network request through a socket5 proxy?
Mar
10
comment How to execute one command on all files within a folder
Thanks. Good tips for using ; to execute multiple commands.
Mar
10
accepted How to execute one command on all files within a folder
Mar
10
asked How to execute one command on all files within a folder