Categories
Uncategorized

How to read the kernel's start-up parameters

Simply dive into proc filesystem and read /proc/cmdline file to determine the kernel’s start-up parameters.

Categories
SysOps

How to check last mount time of the ext2/ext3/ext4 filesystem

A couple of days ago, I was asked how to check the last mount time of the ext2/ext3/ext4 filesystem. The solution is straightforward as it does not require anything more then tune2fs utility.

Categories
SysOps

How to display available updates

It is straightforward to display available updates using an application with a graphical user interface, but not so obvious to do it by using shell commands only. I will shed some useful light on the subject so we could both benefit from it.

Categories
Uncategorized

Debian – How to hold specific package

There are at least couple ways to hold specific package and prevent it from being updated
as you can use apt, dpkg, aptitude, dselect, apt preferences,
but only the last one is effective in every case.

Categories
Uncategorized

Debian – How to quickly disable IPv6

I am playing with Linux Virtual Servers in the Linode Cloud for the last several days and a couple of times wanted to disable IPv6 for testing purposes.

Categories
Uncategorized

How to re-read partition table

You don’t need to reboot system to re-read partition table after applying changes. I suppose that you already know this and came here to get the strict answer so I will shortly describe basic tool for this task.

Categories
Uncategorized

Debian – How to transparently bridge Ethernet interfaces

Yesterday, I wrote a short note about VLAN interfaces. Today, I want to write a short entry on how to bridge Ethernet interfaces to keep things complete as I need to mention about creating ACCESS port to tag packets on desired interface.

Categories
Uncategorized

How to create VLAN interface

VLAN (virtual local area network) is very useful concept as you can easily separate device management from users by using appropriate network devices and configuration. I will describe here in a form of a short note how to create VLAN interface using Debian system.

Categories
Uncategorized

Debian – How to change time zone

This is rarely performed task but an easy one. To change time zone you need to reconfigure tzdata package.

Categories
Uncategorized

Ubuntu Precise – Install youtube-dl package using Quantal repo

Ubuntu Precise 12.04 currently contains in repository youtube-dl version 2012.02.27-1. As of recent YouTube changes this package version is not usable anymore but there is an updated version in Ubuntu Quantal 12.10 repository. To use it you need to perform couple of steps described below.