The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-18-2009
roshantraj30 roshantraj30 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 5
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