How to find directory size and disk free space:

1) command: du -sh /home/*

example:
tokunbo@debian7:~$ du -sh /home/*
40M /home/downloads
4.0K /home/web
20K /home/testuser
16G /home/tokunbo
tokunbo@debian7:~$

then to find details of directories under "/home/tokunbo":

command: du -sh /home/tokunbo/*

Just keep on adding the directories / subdirectories to know which file/s / DIR is eating up your diskspace. For example:

command: du -sh /home/tokunbo/subdir1/subdir2/subdir3/*

Another good command

Suppose you have 2-directories(A and B), each perhaps nested beneath other top-level directories and the need arises for a symbolic link between them such that everything available in one folder(A) would be automatically available and accessible from the other(B), and vice-versa

CD "into" the directory(destination-B) of the symbolic link, and then use the command:

ln -s complete-path-to-the-folder-name-of-the-link(A).

After the above, to confirm if the link is working properly,

ls -ld

How to transfer files from a linux host via SCP.

First, check if SCP is installed: just type the command on terminal without any parameters:

or example:(if you get an output just like the below, scp is installed and you are good to go)

tokunbo@debian7:~$ scp
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[user@]host1:]file1 ... [[user@]host2:]file2
tokunbo@debian7:~$

The following is a sample command to copy a file

These are just a list of Mozilla Firefox extensions I use on my box

1) Abduction: Right click on any webpage and "save page as" an image, a complete / part of a webpage.
homepage: https://addons.mozilla.org/en-US/firefox/addon/abduction/?src=api

2) Downloadhelper: Downloadhelper can capture images and files from soooo sooooo many sites.
homepage: http://www.downloadhelper.net/install.php

3) ABP: AdBlockPlus - ban/block those anonying adverts into oblivion.
homepage:

1) download Google Chrome(google-chrome-stable_current_i386.deb) from here:

https://www.google.com/intl/en_uk/chrome/browser/index.html?platform=linux#eula or
https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
or using wget from terminal:

wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

After the download is complete, to install:

command: dpkg -i google-chrome-stable_current_i386.deb

if there any "dependency notices":

command: apt-get -f

I will be shipping off my Debian box to a remote location and I need to have remote desktop access to the Debian-7 box from my Windows OS laptop. Heres how to set things up.

1) update Debian-7 and install OpenSSH SSHD server

a) to update Debian, type on terminal: apt-get update

b) to install openSSH server, type on terminal: apt-get install openssh-server

After installation, the following commands can be used to start, stop or verify OpenSSH server's status:

- service ssh stop
- service ssh

mainexcel-2

example-1) Suppose we want to extract the first three letters of each string of the above Column-A, and suppose we want to start the extraction from the left, we use the LEFT Excel function:

formula: =LEFT(A2,3) means: get the first 3 characters starting from the LEFT of cell A2.

Note the formula in use (IN RED) below. Thus we are able to extract the first 3-characters from each cell in Column-A

mainexcel-3

The above example also applies to get a number of characters from the right, using the RIGHT

example-1)To extract a number of characters starting from a specified position, the Excel function MID comes into good use.

Syntax: MID(text, start_number, number_of_characters) where:

text is the string(cell# in our case) containing the characters to be extracted,
start number = the position of the first character
number of characters = number of characters
for example: =MID(A2,3,7) means that starting from the character in position#3(third charcter), get the next 7(seven)

How to resolve Joomla 3 installation error: Your host needs to use PHP 5.3.1 or higher to run this version of Joomla!

While trying to install launch a Joomla-3 installation, I get the error:

joomla-php5

Googling around, here is how to resolve it:

add this line to your .htaccess file: AddHandler application/x-httpd-php53s .php

The following are screenshots of how I installed Debian-7 / Wheezy.

1) Depending on your hardware, download a CD image from here: http://www.debian.org/CD/http-ftp/. For my i386 hardware, I downloaded filename "debian-7.1.0-i386-CD-1.iso" from here: http://cdimage.debian.org/debian-cd/7.1.0/i386/iso-cd/

Note: to install Debian, you only need the first CD image. Any other updates could be done online.

2) Burn the .iso into a CD. A good and free tool is CDBurnerXP(for windows). Reboot your PC