shell command parse & dir