Implementation of *nix commands in python language