From the dmesg command, you can see that the device got renamed during the system boot. $ dmesg | grep -i eth To get an ethX back, edit the grub file. $ sudo nano /etc/default/grub Look for “GRUB_CMDLINE_LINUX” and add the following”net.ifnames=0 biosdevname=0“. From: GRUB_CMDLINE_LINUX=”” To: GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″ Generate a new grub file using the …
Archives
Disable “icons” folder in an ubuntu web server
This is Ubuntu 16.04 In this file sudo nano /etc/apache2/mods-available/alias.conf The file look like this: <IfModule alias_module> # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require …
Using the /proc in Linux
/proc/cpuinfo /proc/meminfo /proc/cmdline /proc/filesystems /proc/PID /proc/modules /proc/mounts
Adding Swap file on Ubuntu 14.04
How to add swap on Ubuntu 14.04 DigitalOcean tutorial SwapUbuntu ready script