Advertisement
Guest User

Untitled

a guest
Aug 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. dirs_i_am_able_to_cd_into=$(find . -type d -exec cd {} ; -print)
  2.  
  3. #! /bin/sh -
  4. "${0##*/}" "$@"
  5.  
  6. find . -type d -exec cd {} ;
  7. env HOME=/foo cd
  8.  
  9. $ export CDPATH=/usr
  10. $ echo bin lib | xargs -n 1 cd
  11. /usr/bin
  12. /usr/lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement