There are 132 posts published with this tag. ↑ Return to tags

How to fix container which cannot be started

The short story of my experience with container is marked for removal and cannot be started error which was caused by driver "overlay" failed to remove root filesystem for ...: remove /var/lib/docker/overlay/.../merged: device or resource busy.

September 7, 2020 · 4 min · 682 words · Docker · Linux

How to configure command-line tab completion for known SSH hosts

Configure and enable command-line tab completion for known SSH hosts to ease day-to-day operations. You do not need to configure or enable this on Debian-based distributions, but it is good to know how to do this as you will never know when it will come in handy. This article is an extension of adding the SSH menu to the Unity launcher blog post.

How to edit Icewind Dale EE savegame

I have spent countless hours playing role-playing video games. Recently, I bought Icewind Dale: Enhanced Edition for Linux. It is still a great experience, but I have to admit that I have gone to the dark side and modified the save file. Just think of it as a programming exercise.

How to explain umask

I wrote a simple application to explain the current UMASK value. It was a while ago, but I want to share it with you as it is quite a useful utility.

How to fix Bluetooth sound synchronization

I have experienced a lot of trouble with Bluetooth sound synchronization. Most of the time, this issue was especially evident while watching movies. Fortunately, the solution is within easy reach.

How to find which package includes specific file

This brief outline explains how to locate specific file within Debian packages using very useful apt-file utility which as opposed to dpkg-query does not only inspect installed packages since it utilizes fetched lists of the contents of packages.

Hand-picked Linux related magazines

Today, I want to share my personal list of hand-picked Linux related magazines, which I am reading every month to keep up with relevant Linux news and best-practice techniques, so I strongly encourage to check out these magazines to benefit from insights of the most experienced journalists in the business.

How to sync files with Google Drive

The easiest way to sync files with Google Drive is to use insync client which provides seamless user experience, customer support and enhanced functionality.

Introduction to Linux

Do you want to find out how to perform everyday activities using Linux operating system? Learn about commonly used applications and utilities? Then register to take Introduction to Linux course created by The Linux Foundation. It will take anywhere from 40 to 60 hours to complete the course and accustom yourself to Linux.

May 13, 2014 · 1 min · 156 words · Linux · Opinion

Hand-picked audio podcasts for Linux users

Although it is getting warmer and warmer, I have found some time to explore Linux-related podcasts and hand-picked thirteen interesting podcasts so everyone will find something that pleases their ears and engages their mind.

April 11, 2014 · 4 min · 639 words · Linux · Opinion

What is Linux?

Most people use their computers without thinking about the operating system, the software that manages everything from your files to your applications. While Windows and macOS dominate desktop computers, there’s another family of operating systems that powers much of the modern internet: Linux.

March 31, 2014 · 3 min · 576 words · Linux · Opinion

How to colorize text in terminal

Seven days ago I have published a shell script to highlight text in the terminal using sed or ssed. Today I want to extend the idea and colorize specified strings or simple regular expressions using just bash, getopts and ssed respectively.

How to highlight text in terminal

I have been working on a simple shell script to highlight text in the terminal for the last hour. At first, I looked at it from the wrong angle, but after a short break, I finally realized the simplest possible solution.

Kolab – How to integrate Piwik Web Analytics

A quite lengthy but very straightforward description of the Kolab Groupware integration with Piwik Web Analytics. The integration process is simpler than you think as the additional application (Piwik) is hosted externally and doesn’t use a single sign-on.

Kolab and national characters in the mail subject

I am mainly using the Polish language so it is obvious that fairly quickly I encountered a problem with national characters in the subject line. The problem is not fixed in Debian packages (using Debian Wheezy x86_64 and Kolab Systems – Public Repositories) but luckily it is very easy to fix.

How to determine the sunrise and sunset times

A couple of days ago, I mentioned calculating the sunrise and sunset times. This is an interesting problem, so after reading Astronomy Answers – Position of the Sun, I quickly implemented it using the C language. It is only an experiment, so results are approximate.

Ajenti – Clean and simple web-based administration tool

Recently I was searching for a clean and simple web-based administration tool for a couple of small virtual servers so I decided to use Ajenti. It is a simple and easily extendable administration/monitoring utility using the Python language. Installation is very straightforward as there are packages available for the FreeBSD operating system and a couple of Linux distributions.

Console based task manager

Recently I discovered console based task manager – devtodo. It is a very useful tool as you can easily use it over an SSH connection, create multiple different lists and combine them together. I will shortly describe devtodo utility available in Debian package repository but you need to know that you can use newer version – devtodo 2.

Artha – The Open Thesaurus

I am not a native English speaker so I often use thesaurus when writing a blog post or just an email message. A long time ago I always used web-based solutions but since I found Artha – The Open Thesaurus I wouldn’t change it for anything else as it has handy and slick user interface, on the fly search, suggestions and hotkey lookup.

How to graph CCQ on Ubiquiti devices

As you probably already know, the CCQ value is not available via SNMP (AirOS 5.5.2), but of course it doesn’t mean it can’t be graphed using Cacti. To graph CCQ on Ubiquiti devices, you just need to use a simple script to read the desired value using the web interface.

OpenWRT on Ubiquiti AirRouter

Recently I installed OpenWRT on Ubiquiti AirRouter as the original firmware is lacking in a couple of areas. Installation is easy and straightforward as all you need to do at the time of writing this post is to use Attitude Adjustment release.

PHP default timezone warning

PHP Warning: mktime(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/... If you encounter a similar warning, then it means that you need to set default timezone used by all date/time functions.

August 3, 2012 · 1 min · 98 words · Issue · Linux

How to convert Mbox mailboxes to Maildir format

Download mb2md.pl script and run as described in the manual. For example to convert /old/mbox to /new/maildir you can execute: # perl ./mb2md.pl -s /old/mbox -d /new/maildir Converting /old/mbox to maildir: /new/maildir Source Mbox is /old/mbox Target Maildir is /new/maildir Dummy mail system first message detected and not saved. 40 messages.

How to use sudo from within Vim to save file

It is very annoying to see message “E212: Can’t open file for writing” when trying to save file. Hopefully there is a simple solution (a bit longer but without “W12 Warning“): :execute ':w !sudo tee % > /dev/null' | :edit! Look at commandlinefu.com for more solutions like :W command below: :command W :execute ':silent w !sudo tee % > /dev/null' | :edit!

January 16, 2012 · 1 min · 62 words · Linux · Vim

Audible ping

Add -a parameter to the ping command if you don’t look at console output, but want to hear that the host is reachable.

January 11, 2012 · 1 min · 88 words · Linux

How to count files or directories

For this example I will use such a tree: . ├── dir1/ │ ├── dir6/ │ ├── dir7/ │ ├── dir8/ │ ├── file4 │ └── file5 ├── dir2/ │ └── dir9/ │ ├── dir10/ │ │ ├── file9 │ │ └── file10 │ ├── file6 │ ├── file7 │ └── file8 ├── dir3/ ├── dir4/ ├── dir5/ ├── file1 ├── file2 └── file3 List of all files and directories: $ find . | sort | grep -v ^.$ ./dir1 ./dir1/dir6 ./dir1/dir7 ./dir1/dir8 ./dir1/file4 ./dir1/file5 ./dir2 ./dir2/dir9 ./dir2/dir9/dir10 ./dir2/dir9/dir10/file9 ./dir2/dir9/dir10/file10 ./dir2/dir9/file6 ./dir2/dir9/file7 ./dir2/dir9/file8 ./dir3 ./dir4 ./dir5 ./file1 ./file2 ./file3 Number of all files and directories:

HP DeskJet K209a on Arch Linux

Today I connected shiny new HP DeskJet K209a and as suspected everything works fine after I installed cups, hplip, and xsane.

January 9, 2011 · 1 min · 48 words · Linux
← Return to tags