What can I do to apply ls -l | grep ^d to lsf ? I'm scared of a mess of files and folders and trying to just see the folders to make it easier cd ... around places.
ls -l | grep ^d
lsf
cd ...
It should do it well sir
alias lsf='ls -l | grep ^d'
add permanent, do this
echo "alias lsf='ls -l | grep ^d'" >> ~/.bash_profile
If you are using a decent wrapper (i.e. ZSH ) you can do
ls -d *(/)