some basic shell programming, system calls