You can configure your linux bridge (brctl operates them) as a hub (if you want to) with setting the aging property of the bridge to 0 as below: brctl setageing <bridge> 0 This make your bridge to behave as a hub. Most of you may not remember a network hub's functionality that is different from … Continue reading Linux Bridge as Hub
Category: linux
cd Between Last Two Directories – A Quick Method
if you need to change your previous directory rapidly you can add - (dash) to your cd command and no moreĀ arguments. For instance: if you were in: /etc/apt/sources.list.d/ and now in: /home/myuser you can easily go back to /etc/apt/sources.list.d/ with the command cd -
Create (Prepare) Bootable USBs from Ubuntu ISOs – No Additional Tool or Software Required!
You've downloaded Ubuntu ISO from a mirror and want to test or install it to your computer. There are many ways to do this but I'll share my method which requires no additional tools or software in this post. Additionally you can use this method in order to create bootable USBs for other ISOs if … Continue reading Create (Prepare) Bootable USBs from Ubuntu ISOs – No Additional Tool or Software Required!
Turn Off Screen on Linux with Command Line
If you do not have screen off function keys in your keyboard then you can use following commands to turn your screen off. First you need to find out your screen identifier: $ xrandr --listmonitors Monitors: 1 0: +*LVDS1 1600/310x900/174+0+0 LVDS1 Then turn screen off with the following cmd: xrandr --output LVDS1 --off This will … Continue reading Turn Off Screen on Linux with Command Line
Find debian (deb) or RPM package that provides (contains) specific executable or file
You know how to install deb packages with apt-get cmd. But sometimes you need to find the package provides a specific file or executable. RedHat or CentOS users have this command by default via yum cmd. yum whatprovides updatedb This command outputs all packages provide updatedb file (in that case it is an executable). Ubuntu … Continue reading Find debian (deb) or RPM package that provides (contains) specific executable or file
BruteForcer – Simple Yet Powerful Brute Force Password Cracker
I'm very forgetful these days. Even though I could not remember what I ate yesterday or what I wore, I have password protected everything. As a result, most of the times IĀ have ended up with a locked zip, tar.gz or other file. Yesterday I had same experience and I decided to write a brute force … Continue reading BruteForcer – Simple Yet Powerful Brute Force Password Cracker
“rsync” a Versatile Tool
I should mention about a tool that deserves to be described specifically - rsync. This tool is well known by system administrators but not as much by home users. But this tool has promising capabilities for them as well. If you're a backup lover like me (your photos, documents and etc.) and if you're doing … Continue reading “rsync” a Versatile Tool
KVM Live (Online) External Backups
Ok, even though this can be done with many other methods, I'll explain mine. I'll also provide youtube videos for the procedure and demonstration as well. Unlike offline backups, online backups require minimalist suspend - save - resume actions (hopefully within small amount of time - which depends your modifications and RAM usage) while taking … Continue reading KVM Live (Online) External Backups
Nested Virtualization
Nested virtualization is very important feature if you're using virtual machines for your daily tasks. If you've heard but not know much about it this blog post is for you. You've probably watched the movie "Inception". In this movie you dream in an other dream. This is a nested dream. Virtualization can also be nested … Continue reading Nested Virtualization
Solution to: Getting Kernel Panic After Update of Virtual Machine
If you recently updated your Centos VM you may started getting the error below: Kernel panic -- not syncing: VFS: Unable to mount root fs on unknown-block(0,0) unknown-block may change depending on your configuration, but symptoms stay same: Kernel panic after the update, and this error message. Solution is: yum remove kernel yum update That … Continue reading Solution to: Getting Kernel Panic After Update of Virtual Machine