Brock Angelo
Currently viewing the category:
"Bash"
Bash is a powerful scripting tool and comes in handy on more than one occasion. Here is a fun one: Write your server uptime to a text file so that you can display it on a webpage.
Delete all the comments marked as spam automatically using cron.
How to Create an Alias in Ubuntu
If you run the same commands in Linux (or Ubuntu) all the time, you can add what is called an “alias” to your user account. For example, I regularly type:
ls -alh
So I setup an alias so that I can just type la. (also, see my
