linux settings function