working shell with thread/fs