Category Archives: Googling for Answers

Bash Script to Show All Cron Jobs by All Users

I googled this up the other day and it's a winner for sure. The script was tagged as the best answer to "How do I list all cron jobs for all users?" over at stackoverflow.
Posted in Googling for Answers, Linux Tagged ,

Recursively chmod only Directories or Files

This particular trick is invaluable, and I’m tired of googling it. You can read the original article here.

[note color=”#DDD”]Directories Only:
find . -type d -exec chmod 755 {} \;[/note] [note color=”#DDD”]Files Only:
find . -type f -exec chmod 644 {} \;[/note] And here are some other ones I […] Continue Reading
Posted in Googling for Answers, Linux Tagged ,

Missing Admin Bar in WordPress

I just installed Wordpress and after installing a theme I liked I noticed that it was missing the Admin Bar on the public portion of the site. A quick google search turned up the answer in the Wordpress Support Forums:
Posted in Googling for Answers, Web Development Tagged

Compress/Uncompress a Linux Directory

I’m so tired of googling this. The reason I have to look it up every-damn-time is because I can never remember exactly what the switches are for compressing/uncompressing.

The following was taken from here.

Create Archive:

[note color=”#DDD”]tar -zcvf example.tar.gz /home/example[/note]

Where:

  • -z: Compress archive using gzip program
  • -c:
[…] Continue Reading
Posted in Googling for Answers, Linux Tagged , , ,

Setting up a LEMP server on Debian 6

Skip the long winded description

Downloading Packages
Vhost Configuration
Testing
Installing MySQL
Installing phpMyAdmin
Setting up SFTP

I’ve been playing with linux as a hobby for about 13 years and I’ve been running my own virtual servers for web and mail for about 2. In all that time, my only […] Continue Reading

Posted in Googling for Answers, Linux, Nginx Tagged , , ,