≡ Menu

RedHat and Friends

How to make disk image with dd on Linux or Unix

How do I create disk image using dd command? How do I perform disk cloning from a live Linux cd for backup or recovery purpose?
[click to continue…]

How to configure a static IP address on CentOS 7 / RHEL 7

I am a new sysadmin and CentOS user. My system is configured to use DHCP. How can I switch from DHCP to static IP address configuration in a CentOS 7 desktop system? How do I setup a static TCP/IP address on my CentOS Linux 7 or Red Hat Enterprise Linux 7 server using command line option?
[click to continue…]

How to see PCI devices info on CentOS 7 and RedHat Enterprise Linux 7

I wanted to see PCI devices information on my CentOS/RHEL 7 box. But, I’m getting an error that read as, “-bash: lspci: command not found”. How do I solve this problem and see PCI devices information on CentOS/RHEL 7?
[click to continue…]

How to see CPU temperature on CentOS 7 and RedHat Enterprise Linux 7

I am a new sysadmin of CentOS 7 server. How do I get my CPU temperature Information on CentOS Linux 7 or Red Hat Enterprise Linux 7 server?
[click to continue…]

Linux how long a process has been running?

I‘m a new Linux system user. How do I check how long a process or pid has been running on my Ubuntu Linux server?
[click to continue…]

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?
[click to continue…]

Linux Iptables Delete postrouting Rule Command

I am a new Linux server sysadmin. I need to delete POSTROUTING rule. How do I delete postrouting rule on Linux server?
[click to continue…]

KVM libvirt assign static guest IP addresses using DHCP on the virtual machine

I am using KVM/libvirt on Linux operating system and how do I assign static IP address using dnsmasq dhcpd server for my default virtual network switch?
[click to continue…]

How to copy permissions from one file to another on Linux

I need to copy or clone file ownership and permissions from another file on Linux. Is there a bash command line option to clone the user, group ownership and permissions on a file from another file on Linux operating system?
[click to continue…]

A stack-based critical buffer overflow was found in the way the libresolv library (glibc) performed dual A/AAAA DNS queries. A remote attacker could crash or, potentially, execute code running the library on Linux. How do I patch and protect my server or workstation against the glibc getaddrinfo on Linux operating system?
[click to continue…]