3 ms·
Nevermind now that I think about it, this is basically most of ncd: #! /bin/bash d=$(find / -name "$1" 2>/dev/nul
by timonoko 6y ago
Nevermind now that I think about it, this is basically most of ncd:
#! /bin/bash
d=$(find / -name "$1" 2>/dev/null | head -1)
echo Jumping to $d, Control-D to return
cd $d
bash
Actually it is now perfect. If the guess is wrong, you can return and add letters to you search string.