Monday, 3 November 2014

How to install a deb or bundle file in Ubuntu

dpkg is the package manager of Ubuntu that will install the deb file.

Run the command:
sudo dpkg -i PACKAGE_NAME.deb

bundle is a executable file and one can execute it using

These commands have to be executed in the existing directory which has the installation files. Else full path has to be given instead of the file name.

Friday, 26 September 2014

How to check the size of folder through terminal

The command "du" is used to list the number of blocks, files are occupying in the current working directory.

To make it in human readable format, -h extension is used.

To not list all files individually and simply print the total size, -s is used.

du -h -s

lists the size of the current working directory in K/M/Gb.

if you want to know size of some specific directory, just specify path to the command. Ex:

du -h -s path

Tuesday, 23 September 2014

"Open in Terminal" missing from right click

If you are facing this problem, you may want to install nautilus-open-terminal package by

sudo apt-get install nautilus open-terminal-package

Now simply reset the nautilus by typing:

nautilus -q

Wednesday, 10 September 2014

iPhone not being read by iTunes

If your iTunes cannot detect the connected iPhone, you may want to reinstall the apple driver

Here is a step by step guide to solution:

Tuesday, 9 September 2014

How to use emoticons in Whatsapp in Iphone

  • Go to Settings > General > Keyboard
  • Tap Keyboards
  • Tap Add New Keyboard
  • Locate and tap Emoji

You can access this keyboard by tapping the globe icon next to your normal keyboard.
Enjoy Emoticons and don't seem to be an angry person :D

PS: It is only available for iOS version 5 or higher. You can update your iOS using this link
For more info you can use this URL:

Thursday, 28 August 2014

Configure proxy on Ubuntu Terminal

To configure proxy for terminal in Ubuntu, you need to edit apt configuration file. You can do so by the following command:

sudo gedit /etc/apt/apt.conf

Add the line:
Acquire::type::proxy "http://proxyaddress:proxyport";

type can be http,https or ftp

Or on GUI:=>

Settings => System Settings => Network => Network Proxy

Select method as "Manual" and put in IP and Port.

Click "Apply System Wide" and enter password. You are done.

I was behind a http proxy server(, port-3128) of institute and needed to configure proxy for the terminal. This line is what worked for me:

Acquire::http::proxy "";

Tuesday, 26 August 2014

How to install a CA Certificate in Ubuntu

I was looking for the above problem when I found this to be a perfect solution.

Given a CA certificate file 'foo.crt', follow these steps to install it on Ubuntu:
First, copy your CA to dir /usr/local/share/ca-certificates/
sudo cp foo.crt /usr/local/share/ca-certificates/foo.crt
then, update CA store
sudo update-ca-certificates
That's all. You should get this output:
Updating certificates in /etc/ssl/certs... 1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d....
Adding debian:foo.pem
No file is needed to edit. Link to your CA is created automatically.
Please note that the certificate filenames have to end in .crt, otherwise the update-ca-certificates script won't pick up on them.

Thanks to Frantisek for his answer here.

Thursday, 7 August 2014

Removing the Shortcut Virus

I came across an intersting virus today.

Everything in pendrive becomes a shortcut. Although the file is not visible on the pen drive, it opens correctly when you click the shortcut.

These commands can be run on command prompt and are helpful to remove such virus from pendrive:

attrib F:\*.* /d /s -h -r -s


attrib -h -r -s /s /d f:\*.*

F being the drive letter.

The command simply restores your original files as they were. You are then free to delete the malicious shortcuts or let a anti-virus do the job.
For more info, see this.

Wednesday, 9 July 2014

Convert your PC into a Hotspot

Usually people download Connetify to share their internet connection over WiFi. However, connectify takes a lot of time to initialize and is has a timeout period of 90 mins. This all is just too annoying.

You can save yourself all this hassle by directly doing something from command line, what connectify does internally through GUI.

Using these commands, any kind of network will be shared over WiFi.
It would be just as if you have Connectify Pro installed on your system.
To do so, follow these steps:

  1. Open Command Prompt.
  2. Type: 
    • netsh wlan set hostednetwork ssid=wifiname key=wifipassword
    • netsh wlan start hostednetwork
  3. This network will be added under "Microsoft Hosted Network"
  4. Now open run prompt(Win+R) and type: "ncpa.cpl" without quotes.
  5. In the window that opened, make the changes as shown in the image given below. And your hotspot is ready. Enjoy browsing :)
  6. To stop hotspot type: 
    • netsh wlan stop hotednetwork

Thursday, 23 January 2014

Today I learnt again that I have a fundamental flaw in  me. I do not accept myself. How can others accept me, which I want to often, if even I dont accept myself. I realized I am not only afraid of rejection, I also like to be accepted. I am afraid of people judging me.

I should be myself and learn to not let people affect me when I don't want to.