advanced bash