move from g* commands to posix ones