bash: f() to aiport utility