Pages

Tuesday, September 21, 2021

Using linux' find command

Strangely enough I sometimes have a need to find a file which I don't know exactly where is. Even though I am sure I am the only one with this problem I will try to explain how to search for a file on my computer.

To make this a rather short how-to I will only give some pointers about using the find-command.

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.