Archlinux: Can’t find ifconfig

Archlinux dropped support for ifconfig “net-tools” sometime back. [announcement] To get the ip address use “ip” tool instead. ip addr show dev [device name] ip addr show dev enp2s0 If you really want ifconfig back then grab the “net-tools from the AUR.

How To Install Spotify In Ubuntu

Follow this guide and you’ll get to enjoy Spotify’s Linux client. Note that it’s a preview release and is unsupported. Create a new source file for the Spotify repository. # sudo vi /etc/apt/sources.list.d/spotify.list Add the following line into the source file. Add Spotify’s public key so that you can verify Spotify’s packages. sudo apt-key adv…

How to set the date and time in Archlinux

Quickly set the current date and time in Archlinux. 1. Check the current time. [root@atom ~]# timedatectl status Local time: Mon 2013-01-21 08:57:21 MYT Universal time: Mon 2013-01-21 00:57:21 UTC RTC time: Mon 2013-01-21 00:57:21 Timezone: Asia/Kuala_Lumpur (MYT, +0800) NTP enabled: no NTP synchronized: no RTC in local TZ: no DST active: n/a 2. Set…

Linux How to change user UID and GID

I was running Debian for sometime and in Debian the UID starts at 1000. Now I moved to CentOS 6 and the UID starts from 500. Simply changing the UID/GID seemed like an quick way to get my file permission back in sync. Here’s how to easily change the UID and GID for a user…

How to install Google Chrome on Linux Mint 13

Here’s how to install Google Chrome on Linux Mint 12 “Maya”. 1. Download the signing key. wget -q -O – https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add – 2. Download the install package. Beta or Stable Beta, wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb Stable, wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb 3. Install the Google Chrome package. This will also automatic add the Google Chrome repositories…