Sunday 5 February 2012

Keyboard shortcuts for Bash(Linux terminal)

Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + L               Clears the Screen, similar to the clear command
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H Same as backspace
Ctrl + R Let’s you search through previously used commands
Ctrl + C Kill whatever you are running
Ctrl + D Exit the current shell
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W Delete the word before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + T Swap the last two characters before the cursor
Esc + T Swap the last two words before the cursor
Alt + F Move cursor forward one word on the current line
Alt + B Move cursor backward one word on the current line
Tab Auto-complete files and folder names

Saturday 4 February 2012

Run Web Searches from Windows Explorer

The Windows 7 search tool can now be easily extended to search online resources, just as long as someone creates an appropriate search connector.

Download the Connector for Filehippo & open.A "Filehippo Search" option will be added to your Searches folder, and you'll be able to search from your desktop.

To add Flickr support, Download the Connector for flickr . A "Flickr Search" option will be added to your Searches folder, and you'll be able to search images from your desktop.

you can made connectors by replacing site name from existing connector.

How to download whole website for offline use using single command in LINUX?


Hi,friends...

Many of you have thought that if i could download whole w3school website or other tutorial site on my computer then it will be super duper thing..

so lets do it.

1.Open your linux terminal by pressing ALT+CTRL+T.

arpan@arpan-NV44 ~ $ wget -r [website_address]

HERE: -r IS OPTION FOR RECURSIVE DOWNLOAD.
FOR MORE INFO ABOUT WGET COMMAND PUT “man wget” in terminal without quotes.

2.it will be saved in home folder with folder name site which you have downloaded.
To access site :Open index.html or index.php

How to know Internet usage of any process in Ubuntu/Mint/Debian?


To know,which process is using your internet in your system hiddenly then you have to follow below steps.

1.Install nethogs tool by putting this command into terminal.

    sudo apt-get install nethogs

2.Then you have to use it.
put this commands to check internet usage of the processes.

                   sudo nethogs [connection_type]
[connection_type]=ppp0 for mobile internet,eth0 for broadband/ethernet,wlan0 for wifi internet
example: sudo nethogs ppp0


Screenshot:

Friday 3 February 2012

How to install LAMP or Apache tomcat server in Ubuntu by single command

If you want to install LAMP or apache tomcat server in any version of Ubuntu than follow below steps
1.Open terminal and Type the command : (PRESS ALT+CTLR+T)

sudo apt-get install tasksel

2.Now to install LAMP, type the taskel command in terminal :

sudo  tasksel

And select LAMP Server:






FOR SELECTION/DESELECTION : USE SPACE BAR.


3.During the installation  you  will be  asked  to insert the  mysql root  password


4.To full manage  your  lamp Server database, install  phpmyadmin

sudo  apt-get  install  phpmyadmin

5.To login  to phpmyadmin, open browser and type :

http://ip/phpmyadmin   or http://localhost/phpmyadmin