practice of input/output in unix/linux