How to get the serial number of your machine in RHEL 7 or Centos

sudo dmidecode | grep Serial


How to fix choppy sound on VLC on Ubuntu

My ThinkPad X1 played movied fine on VLC with the internal speakers but the minute I plugged in the HDMI cable the sound became choppy. Here's the fix I applied: echo "options snd-hda-intel position_fix=1" | sudo tee -a /etc/modprobe.d/alsa-base.conf