How to install Ubuntu Desktop on Ubuntu Server 14.04

Open the Terminal Window Execute the following command to install the Ubuntu Desktop sudo apt-get --install-recommends install ubuntu-desktop

April 7, 2018 · 1 min · 18 words · icarnaghan

How to install Ubuntu Desktop on Ubuntu Server 16.04

In the terminal type the command: sudo apt-get update The above command downloads the package lists from the repositories and updates all packages to get information for the newest versions of packages and their dependencies. Now install the Ubuntu Desktop package and it’s dependencies sudo apt-get install ubuntu-desktop

April 7, 2018 · 1 min · 48 words · icarnaghan

How to install UniFi Video 3.1.1 on Ubuntu 14.04

Open the Terminal Window Download the Installation file using the wget command wget http://dl.ubnt.com/firmwares/unifi-video/3.1.1/unifi-video_3.1.1~Ubuntu14.04_amd64.deb Install the deb package sudo dpkg -i unifi-video_3.1.1~Ubuntu14.04_amd64.deb; sudo apt-get install -f Open a new Browser Window and type in https://:7443 replacing with the NVR IP address to initiate the setup process.

April 7, 2018 · 1 min · 46 words · icarnaghan

How to install wkhtmktopdf on a Linux 32bit Operating System

Open a new Terminal Window Download the wkhtmltopdf library http://wkhtmltopdf.googlecode.com/files/libwkhtmltox-0.11.0_rc1-i386.tar.bz2 Extract the library tar xvjf libwkhtmltox-0.11.0_rc1-i386.tar.bz2 Move the library to the /usr/local/bin/wkhtmltopdf directory mv wkhtmltopdf-i386 /usr/local/bin/wkhtmltopdf Make the /usr/local/bin/wkhtmltopdf executable chmod +x /usr/local/bin/wkhtmltopdf Try it wkhtmltopdf http://google.co.za /home/roland/Desktop/google.pdf

April 7, 2018 · 1 min · 38 words · icarnaghan

How to iterate through an array in a Bash Shell Script

Create a new Bash Shell Script eg. loopThroughArray.sh Open the Script with an Editor eg. GEdit Add the array definition through which the script should iterate array=( one two three four five ) The expression ${array[@]} contains all values within the array ${array[@]} Now we create a for loop to iterate through the array for num in ${array[@]} do echo $num done Once the Script executes, all values within the array be be echoed to the screen. ...

April 7, 2018 · 1 min · 93 words · icarnaghan

How to list all PostgreSQL databases using the Command Line

Type in the following command in the CLI (Command Line Interface) psql -l This command will list all of the databases available

April 7, 2018 · 1 min · 22 words · icarnaghan

How to list all USB devices in Linux

Open a new Terminal Window Type in the lsusb command lsusb lsusb is a utility for displaying information about all USB buses in the system and all devices connected to them.

April 7, 2018 · 1 min · 31 words · icarnaghan

How to loop through lines in a file using Bash

for i in $(cat myFile.txt); do echo $i; done The above code executes a for loop and then echo’s out each line in the file myFile.txt

April 7, 2018 · 1 min · 26 words · icarnaghan

How to loop through the output of a Linux command in Bash

for fileName in $(ls) do echo $fileName done or a one liner for fileName in $(ls); do echo $fileName; done Replace the ls command with any Linux command

April 7, 2018 · 1 min · 28 words · icarnaghan

How to make a table spread across multiple pages in MS Word 2013

Select the Table to bring up the Table Tools ribbon Click the Layout tab in the **Ribbon ** Select the Table Properties command in the Layout tab Click on the Row tab in the Table Properties window Under the Options section check the checkbox next to Allow row to break across pages and click on the OK button. The table will now spread across multiple pages without a page break. ...

April 7, 2018 · 1 min · 70 words · icarnaghan