pq bash