This sources.list file might be useful for an Ubuntu desktop user who has overwritten their file and needs a new one. ## SOURCES LIST FOR UBUNTU 16.04 LTS XENIAL XERUS ## ALSO FOR XUBUNTU 16.04, LUBUNTU 16.04 ## AND KUBUNTU 16.04 ## From: http://sites.google.com/site/easylinuxtipsproject ## This list is for the Main server; you might want …

Firstly, download a kernel tarball from kernel.org. [email protected]:~$ wget https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz –2016-03-29 10:22:34– https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz Resolving cdn.kernel.org (cdn.kernel.org)… 103.245.222.69 Connecting to cdn.kernel.org (cdn.kernel.org)|103.245.222.69|:443… connected. HTTP request sent, awaiting response… 200 OK Length: 89423304 (85M) [application/x-xz] Saving to: ‘linux-4.6-rc1.tar.xz’   linux-4.6-rc1.tar.xz 100%[======================================================================>] 85.28M 1.29MB/s in 66s   2016-03-29 10:23:54 (1.28 MB/s) – ‘linux-4.6-rc1.tar.xz’ saved [89423304/89423304][email protected]:~$ wget https://cdn.kernel.org/pub/linux/kernel/v4.x/testing/linux-4.6-rc1.tar.xz –2016-03-29 …

Convert a Linux text file to DOS format with AWK. [[email protected]:~] cat dodo-ip.txt | awk ‘{sub(/$/,"\r")};1’ > dodo2.txt[[email protected]:~] cat dodo-ip.txt | awk ‘{sub(/$/,"\r")};1’ > dodo2.txt Convert a DOS text file to UNIX format. [[email protected]:~] cat dodo2.txt | awk ‘{sub(/\r$/,"")};1’ > dodo3.txt[[email protected]:~] cat dodo2.txt | awk ‘{sub(/\r$/,"")};1’ > dodo3.txt Get your Internet facing IP address from …

The new Ubuntu 16.04 release allows moving the Unity launcher to the bottom of the screen. This does make sense, screens are wider than they are tall, and I like having the bar on the bottom of the screen. Use the command below to move the bar to the bottom. [email protected]:~$ gsettings set com.canonical.Unity.Launcher launcher-position …

The /proc/net/wireless file contains information about your wireless connection. [email protected]:~$ cat /proc/net/wireless Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 wlan0: 0000 58. -52. -256 0 0 0 1 47 [email protected]:~$ cat /proc/net/wireless Inter-| sta-| Quality …

I had problems getting Steam to run on Ubuntu 15.04, I would get this error. [email protected]:~$ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically [2016-01-05 11:03:24] Startup – updater built Dec 14 2015 11:15:53 SteamUpdateUI: An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation)[email protected]:~$ …

The console font in Ubuntu 15.04 can be quite garbled when a console application is loaded that requires ncurses characters to draw an interface. There as easy fix for this. Run this command in a virtual terminal or a terminal emulator window. sudo dpkg-reconfigure console-setupsudo dpkg-reconfigure console-setup Now choose UTF-8 from this list. On this …

This useful command will display a count of all installed packages on your Debian Linux machine. [email protected]:~$ dpkg-query -l | wc -l [email protected]:~$ dpkg-query -l | wc -l 2027 Grepping the output to find certain packages. [email protected]:~$ dpkg-query -l | grep vim ii vim-common 2:7.4.052-1ubuntu3 amd64 Vi IMproved – Common files ii vim-tiny 2:7.4.052-1ubuntu3 amd64 …

I installed Ubuntu server 14.03 in a Virtual Machine and after installation the Internet connection was not working. To fix this I added the nameservers to the /etc/resolv.conf file like this. nameserver 8.8.8.8 nameserver 8.8.4.4nameserver 8.8.8.8 nameserver 8.8.4.4 After saving this file, I ran this command. sudo service resolveconf restartsudo service resolveconf restart This fixed …

The netdiscover utility will list all connected hosts on your local LAN. This is useful for scanning a network and determining which hosts are online. I used this command to scan an IP range starting with 192.168.0.1. [email protected]:~$ sudo netdiscover -r [email protected]:~$ sudo netdiscover -r 192.168.0.1/24 Currently scanning: Finished! | Screen View: Unique Hosts   …

The Linux desktop has really not changed much in ten years of development. There are the new Gnome Shell and Unity desktops, but simpler alternatives like Gnome flashback are available that emulate the look of the classic two toolbar Gnome desktop environment. This desktop pictured above is the Fedora Core Linux distribution. This is the …

The systemd init system may be used to get information about your running services. Here I am getting information about the openvpn service. [email protected]:~$ systemctl -a status openvpn.service ● openvpn.service – LSB: Openvpn VPN service Loaded: loaded (/etc/init.d/openvpn) Active: active (running) since Mon 2015-04-13 14:57:18 AEST; 5h 2min ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/openvpn.service └─1719 /usr/sbin/openvpn …