Skip to content

BLOG.JUNGWON.KIM

Menu

bash – how to pipe result from the which command to cd

http://stackoverflow.com/questions/3437514/bash-how-to-pipe-result-from-the-which-command-to-cd

cd $(dirname which `mpirun`)

 

bash – how to pipe result from the which command to cd
Jungwon March 10, 2015 CS
  • ← bash loop iteration
  • Topic 851 – Resident and Nonresident Aliens →
Copyright © 2026 BLOG.JUNGWON.KIM. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.