Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Friday, 10 February 2012

Linux with fun: Text based console browser


Lets do fun with Linux terminal.Here I want to share one Linux console utility called ELINKS.

Basically elinks was developed for UNIX systems as browser.

To download it,put this command in terminal.

sudo apt-get install elinks

After downloading this put “elinks” in terminal to open text based console can open multiple terminals for multiple tabs.

It will be very faster because there no image and other media downloading so only text with links can be seen.



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

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


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]

FOR MORE INFO ABOUT WGET COMMAND PUT “man wget” in terminal without quotes. 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