initial port of bash/linux note