Answers for "terminal find containing directory of file and cd to directory"

0

terminal find containing directory of file and cd to directory

$ cd `find ~ -name filename.txt -exec dirname {} \;`
Posted by: Guest on October-20-2020

Code answers related to "terminal find containing directory of file and cd to directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language