replace nexts with typ
linux sys stat