sync shell.c