Friday, November 10, 2017

Getting stats from dd -command

While trying to move the contents of one partition to another I used the dd -command like this: (DO NOT cut'n'paste this command)

dd if=/dev/sda7 of=/dev/sda1

Here's how to get the progress of a long dd-copy:
  1. Open up a terminal (T1) and run your dd-command.
  2. Open another terminal (T2) by pressing Ctrl+Shift +T
  3. In terminal T2 type in: ps aux | grep dd
  4. Find the Pid for the dd-command
  5. In terminal T2 type: kill -USR1 <pid>
  6. Go back to T1 to see the stats printed.

Repeat points 5 and 6 to keep getting an update.

Thursday, September 3, 2015

Wordpress Permalinks not working?

When creating a local website on your own webserver running Apache2 and using Wordpress, you will see that the URL is created by referring to different kind of ID's. This could be Post ID's, Category ID's, Page ID's and so on. So I went into the Wordpress Administration Panel and told it to use permalinks instead. Hoping this would make the URL's a little prettier...

Tuesday, March 31, 2015

Remmina connection problem

After the latest update on my Ubuntu 14.04 Remmina would not connect to one of my Windows computers. I remembered having had this problem before, but was not able to remember the solution. (Even though I knew the solution was a very simple one.)

So I started googling and after a while I found the very simple solution to this problem.

Friday, March 13, 2015

LVM Snapshot example

If your Linux is using LVM (Logical Volume Management) testing out or setting up can be much safer if you take a snapshot of your root partition. Here's a small but helpful example to help you do this quickly.

Tuesday, February 24, 2015

SUM filtered rows in LibreOffice using SUBTOTAL

In Libre Office Calc you sometimes need to filter data using the Autofilter. And of course you would like to know the sum of the values filtered. This is where you'll want to use the SUBTOTAL() function. To get the subtotal of the filtered values you'll need to tell the subtotal function which function you would like to use on the filtered rows.

Monday, January 26, 2015

LibreOffice - using INDIRECT() for cell referencing

At times I need to summarize values from another sheet in Libre Office, and get an output that will group some values together. In my example I have a small table that could contain from 10 to 1000 rows. The table I want is to be grouped by date, and I want to know how much I have spent on a specific day.