Let's say that I want to know my current working directory, so I type pwd
in the prompt and press Enter.
Before getting my current working directory path, does the Linux Shell execute fflush(stdout)
FIRST, and then do its stuff to return the path?
If so, why?