|
Query on Bash Shell
Hi,
I have a query regarding how the commands are getting displayed to the terminal on the bash shell. Lets say i am typing a command "ls" on the command prompt. Does the bash reads the command until the new line is entered and then processes it or is it like first the bash reads the character 'l' and echoes the command to the terminal then bash reads next character and so on and finally processes the command.
Any clue on which part of code i should probe through to get the above functionality in bash source code.
Thanks and Regards
Roshan
|