basic unix manipulations