clean linux functions