Or, if you don't want to blow up your environment with
too many functions, you may create a script 'find' e.g. in
$HOME/bin like:
#!/bin/sh
/usr/bin/find / -name $1 2>/dev/null
and make that directory being the first one in your PATH --
at the end of $HOME/.bashrc
export PATH=$HOME/bin:$PATH
Hope it helps
Main Topics
Browse All Topics





by: jleviePosted on 2002-03-13 at 06:11:35ID: 6860621
Try:
fnd () { find / -name $1 2>/dev/null; }
To have the command available each time you log in you'll want to include that function in your .bashrc file.