Hello,
These are some of my aliases.
I was suprised that my logs are empty after each shell start. I deleted cleaning aliases and my logs are not deleting anymore. So for me it looks like os is executing all aliases on shell start. What am I missing? Or is it a bug/feature ?? Can I make alias that executes only when I want?
Cheers.
These are some of my aliases.
Bash:
alias auth_log tail -20 /var/log/auth.log
alias clean_err_log echo "" > /var/log/httpd-error.log
alias clean_acc_log echo "" > /var/log/httpd-access.log
I was suprised that my logs are empty after each shell start. I deleted cleaning aliases and my logs are not deleting anymore. So for me it looks like os is executing all aliases on shell start. What am I missing? Or is it a bug/feature ?? Can I make alias that executes only when I want?
Cheers.