Tag Info

Hot answers tagged

15

Easy trick for alias in $(compgen -a); do type $alias; done


3

You can almost definitely just do: alias >>./bash_aliases


2

This script may be helpful: for dir in /var/www/vhosts do if [ -d dir] then cp -r DIR_TO_COPY $dir/htdocs fi done



Only top voted, non community-wiki answers of a minimum length are eligible