Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > Spock's Brain
User Name


Uncategorized Entries with no category

So, I bought an iMac

Posted 09-29-2017 at 01:13 PM by Habitual (Spock's Brain)
Updated 10-03-2017 at 02:13 PM by Habitual

27" iMac.
So, I will be even less inclined to participate here at LQ.

Couple of annoyances on this new host, but NBD for a Professional.

Why? You may axe.
One reason, Siri is fully integrated into the desktop. I can speak and it responds.
23 years in IT and I am tired of typing.

Peace Out!
LQ 5k Club
Posted in Uncategorized
Views 375 Comments 2 Habitual is offline

Extract package .deb to $temp/

Posted 08-23-2017 at 11:03 AM by Habitual (Spock's Brain)
Updated 08-23-2017 at 11:35 AM by Habitual

Target for this example is apache2, or "what were the defaults?"

mkdir -pv /path/to/temp/
dpkg-deb -x /var/cache/apt/archives/apache2_2.4.18-2ubuntu3.4_amd64.deb /path/to/temp/
Below /path/to/temp/ is
remove all but etc, so
rm -fr /path/to/temp/{lib,usr,var}
and there they are!

LQ 5k Club
Posted in Uncategorized
Views 157 Comments 0 Habitual is offline


Posted 08-21-2017 at 06:33 PM by Habitual (Spock's Brain)

Missed it.
Turdpress migration.

I may run out of sun, but never work.
LQ 5k Club
Posted in Uncategorized
Views 410 Comments 1 Habitual is offline

The Loss of a Pet

Posted 03-18-2017 at 08:02 AM by Habitual (Spock's Brain)
Updated 03-19-2017 at 06:53 AM by Habitual

Dear Friends:

I woke up this morning to one of my "sugar gliders" laying on the bottom of the cage.
I could not tell, but I think it was the female, "Sweetie". She seemed to have been
struggling as of late moving about the cage.

If you don't know what a Sugar Glider is, I encourage you to go to
and search for
sugar gliders
or see the attachment.

I can't be a complete asshole, my...
Attached Images
File Type: jpg Sweetie.jpg (43.9 KB, 16 views)
LQ 5k Club
Posted in Uncategorized
Views 1428 Comments 3 Habitual is offline

Scripting a Wordpress rollout - Method II

Posted 11-30-2015 at 01:50 PM by Habitual (Spock's Brain)
Updated 11-30-2015 at 04:21 PM by Habitual

Now even shinier!
It's a rude and crude script, but it works for experienced admins who knows what they are doing,
and where they are doing it.

### 11/30/2015 
### jj/Habitual


do_work ()
    mkdir -pv "$BASEDIR"/"$DOMAIN"/
    cp -pr /var/www/wordpress/* "$BASEDIR"/"$DOMAIN"/
    cp "$BASEDIR"/"$DOMAIN"/wp-config-sample.php
LQ 5k Club
Posted in Uncategorized
Views 2433 Comments 0 Habitual is offline


All times are GMT -5. The time now is 08:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration