I know that bash runs a file, by running its lines one by one. But I wan't to know exactly how does it do that, I am new to interpreters and still learning the ropes. How does it run its code, does it compile one line to bytecode and run it in a VM or does it compile to machine code, or something else entirely?