Implementing some linux commands