for service in `cd /etc/init.d/; ls -1`; doYou can now access the service scripts with an alias which also work with command completion. So restart the network i.e. will be "service-network restart".
alias "service-${service}"="/etc/init.d/${service}";
done
No comments:
Post a Comment