Tag Archives: linux tutorials

Ubuntu setup a bonding device and enslave two real Ethernet devices

Ubuntu setup a bonding device and enslave two real Ethernet devices

How do I setup a bonding device bond0 and enslave two real Ethernet (say eth0 and eth2) devices to it on Ubuntu Linux 140.04 or 16.04 LTS server? How can I create 802.3ad bonding mode (IEEE 802.3ad Dynamic link aggregation) on Ubuntu Linux 16.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How to determine Linux guest VM virtualization technology

How to determine Linux guest VM virtualization technology

I have a cloud-based virtual machine running Ubuntu and CentOS Linux server. It may or may not be virtualized. How do I determine what kind of virtualization technology (VMWARE/ KVM/ XEN/ VirtualBox/ Container/ lxc/Hyper-V etc.) a Linux guest system running on? How do I find out the virtualization type of a CentOS 7 Linux VPS?
Halal Vitamins

Powered by WPeMatico

10 Ubuntu / Debian Linux apt Command Examples

10 Ubuntu / Debian Linux apt Command Examples
I am a new Linux system admin user. How do I use apt command line utility for the package management on Ubuntu Linux LTS and Debian Linux server? How can I use the apt command for the package management? APT stands for Advanced Package Tool. It is a set of core tools inside Debian and […]
Halal Vitamins

Powered by WPeMatico

Book Review: FreeBSD Mastery: Specialty Filesystem

Book Review: FreeBSD Mastery: Specialty Filesystem
FreeBSD Mastery: Specialty FilesystemsA filesystem is nothing but the data structures that an operating system uses to keep track of files on a disk. The filesystem stores your pictures, music, videos, accounting data and more. The different operating system comes with various filesystems. You may need to move data between FreeBSD and other Unix-like systems like OS X or Linux based device. Knowing all about filesystem help us to archive or move data between system. The “FreeBSD Mastery: Specialty Filesystem” is an essential, practical and well-written book.
Halal Vitamins

Powered by WPeMatico

How to gzip and keep original file on Unix or Linux command line

How to gzip and keep original file on Unix or Linux command line

I would like to compress a log file using gzip Unix command line utility, and I would also like to keep the original file. However, when I use the gzip my-app.log command, results in modifying my log file and renaming it my-app.log.gz. How do I force the gzip command to keep original file while maintaining the original file on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

Unix / Linux: Remove duplicate lines from a text file using awk or perl

Unix / Linux: Remove duplicate lines from a text file using awk or perl
I have a text file with exact duplicates of lines. I need to remove all those duplicates lines and preserves the order too on Linux or Unix-like system. How do I delete duplicate lines from a text file? You can use Perl or awk or Python to delete all duplicate lines from a text file […]
Halal Vitamins

Powered by WPeMatico