Common wget examples

GNU Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.

Here are some common wget examples

  • Downloading a file using wget command

wget http://www.techbrisk.com/sites/default/files/uploads/bubblesort_in_c.zip

Frequently Used Linux Commands

Bookmark this article for your future reference.

These are the most used commands anyone needs in day today programming.

Leave a comment as your most frequently used commands or any command that you want me to add in the list.
 

 

 

 


1. grep :

Search for a given string in a file (case in-sensitive search).

$ grep -i "for" file-name

8 June is World IPv6 Day

     The Internet Society (ISOC) is coordinating the efforts of several major internet organisations to promote today's (8 June) World IPv6 Day. The companies involved include Google, Facebook, Yahoo!, Akamai, Limelight Networks and many others: the ISOC web site lists a total of 412 participating web sites. All of these, for this one day, have committed to offer their content over IPv6 in what is described as a "test flight".

Run a command repeatedly using linux watch command

Sometimes it's needed to run a command repeatedly. One option to do that is to write a script and call that command in loop.

But there is a better option.Use linux watch command.

Usage : watch "your command"

 

Common options used with linux watch commands are :

-n : By default watch runs a specified command after every 2 seconds.With -n option we can change this time interval.

-d : It highlights the differences between successive updates.

Taking screenshot on android device

Taking screenshot of android device is possible without rooting the device.You need android sdk for that.You can get it here.

Here are the steps :

No system is 100 percent secure: Sony CEO

Sony’s chief executive officer howard stringer has reportedly said that no system is100 percent secure and he cant guarantee the security of its video game network.

Android 2.3.4 update rolling out in India

Nexus S users in India have started receiving Android 2.3.4 update from Google. 

This version adds video chat to gtalk and some bugfixes for Nexus S and Nexus One.

Bugfixes:

  • Phone shuts down or reboots for Nexus S.
  • Wi-fi and 3G icons both indicate active on Nexus S.
  • Improved battery life for Nexus One.
  • Improved location accuracy for Nexus One.

 

HTC Puccini 10-inch tablet screenshots and specifications

                                                                     

The new details of the 10 inch brother to the HTC flyer have just emerged. It’s the new HTC Puccini which is certainly just not a scaled up Flyer.

Bubble Sort in Python

In this article we will discuss a bubble sort algorithm with example and a python program for bubble sort.

Bubble sort is a simple sorting algorithm.It compares each pair of adjacent elements and swaps them if they are in wrong order.After first pass, biggest element will be at end.
This process is repeated untill all elements are in proper order.

Bubble Sort Algorithm:
1.Starting from first element of array, compare every pair of adjacent elements and swap them if they are in reverse order.
2.If swap occured repeat step1.

Bubble Sort in C

In this article we will discuss a bubble sort algorithm with example and a c program for bubble sort.

Bubble sort is a simple sorting algorithm.It compares each pair of adjacent elements and swaps them if they are in wrong order.After first pass, biggest element will be at end.
This process is repeated untill all elements are in proper order.

Bubble Sort Algorithm:
1.Starting from first element of array, compare every pair of adjacent elements and swap them if they are in reverse order.
2.If swap occured repeat step1.

Pages

Subscribe to TechBrisk RSS