for bash using dir