How to debug your bash script

Simply supply the -x parameter, e.g.

bash -x myscript.sh

Posted in Uncategorized | Tagged , , , | Leave a comment

How to change your hostname in Ubuntu without restarting

  • Replace your old hostname in the /etc/hostname file with the new one: “sudo vi /etc/hostname”
  • Replace your old hostname beside the 127.0.0.1 in the /etc/hosts file
  • Run the following “sudo service hostname start”
  • Exit the terminal and open a new one, you’ll find the new hostname applied

Source: http://www.subvs.co.uk/ubuntu_change_hostname_computer_name

 

Posted in Uncategorized | Tagged , , | 1 Comment

This is post number 300

WoW! Way to go, this is my post number 300, but I must of course say anything useful or a good piece of new, mmmm, here it is:

A free guide: Getting started with Ubuntu 12.10!

http://ubuntugeek.tradepub.com/free-offer/getting-started-with-ubuntu-12.10/w_ubun04?sr=adv&_t=adv:Ubuntu%20Manual%20Project

 

Posted in Ubuntu | Tagged , , , | Leave a comment

Configuration for BI Publisher Server Level Log

Here are the steps to change your BI Publisher Enterprise Server to be in a debug mode:

  1. Login to BIP as Administrator
  2. Select Admin -> System Maintenance -> Server Configuration
  3. Change Debug Level to ‘Debug’ under General Properties

    clip_image001

  4. Click on the ‘Apply’ button and restart the server.

Now you should start seeing more information than when the ‘Debug Level’ is set to ‘Exception’ in the application log file.

Source: http://bipconsulting.blogspot.com/2010/01/bi-publisher-logging-debugging-part-3.html

Posted in Oracle | Tagged , , , , , , , | Leave a comment

Ubuntu, is it ready for Tablets? Unity Vs. MATE

Today I did a test, comparing the Unity desktop, which is Ubuntu’s default now, on Ubuntu Quantal, to the MATE desktop (forked from Gnome 2) on Linux Mint 14 (also based on Ubuntu Quantal), all 64-bit.

The test was run on an old laptop with a Core 2 Duo Processor, 1 GB RAM and Intel Graphics Card.

This was a non-standard test, where I measured desktop responsiveness, ran some applications like Firefox and LibreOffice, played some video files…etc, and I have to admit that Unity compared to MATE is like Sound speed compared to Lightning!!

This made me highly doubt that Ubuntu with Unity is ready for Tablets, as Canonical claims, what do you think?

Posted in Uncategorized | Tagged , , , , , | Leave a comment