kernel.c: fix ls output.
kernel.c:fix shell in/out judge end of string by \0 problem
kernel.c:fix backspace in shell