read and mod from ubuntu