Thursday 29 March 2012

Convet Your Email Into Doc Pdf Dont Copy Paste


So I'm always excited when Google, the company announced a new feature in Gmail Labs that adds a "create a document" link to your email menu.

When you open an email and click the document link, the message will be exported as a Google Document. From there you can edit it, share it, or download it as a Word, PDF, or RTF file.

In order to enable the feature, just click the Gmail Labs icon (it looks like a beaker and hangs out next to the settings link in the top right side of your Gmail homepage) and scroll down until you see the Create a Document option. Click enable and Gmail will reload with the feature enabled.

Wednesday 28 March 2012

Some stuff on Learning Linux Programming


Eventually, you'll hack enough stuff that you get bored and there's nothing left to hack, and no more interesting distros to try/hop to. At least, that's what happened to me. So, here's some stuff on learning programming.

I'll be editing this doc soon to provide more info on different languages, etc...

-----* Python * -----
http://learnpythonthehardway.org/book/

-----* C++ *-----

http://www.cplusplus.com/doc/tutorial/
http://thenewboston.org/index.php
http://www.learncpp.com/
http://www.youtube.com/user/antiRTFM/featured
http://newdata.box.sk/bx/c/

Linux Tutorial and security in Linux


Here is a list of Tutorials about Linux and some of them about security in linux.
I Hope that you like them, and if anyone needs me to make a tutorial for something particular please dont hesitate to ask.

1- Installing Ubuntu Using VirtualMachine
( http://www.youtube.com/watch?v=ZdTfWWYA-bc )

2- Introducing Ubuntu 11.10
( http://www.youtube.com/watch?v=HT8pcBl1EIk )

3- Compiz in both Ubuntu 11.10 & 10.10
( http://www.youtube.com/watch?v=LwTqzPbuf7k )
( http://www.youtube.com/watch?v=KQcwmRmH9-k )

4- Blocking Ports in Linux using IP Tables
( http://www.youtube.com/watch?v=1hq1EuRlqX0 )

5- Basic/Simpe Howto Installing Application using Both Ubuntu Software Center and the Terminal ( Beginner guide )
( http://www.youtube.com/watch?v=-nlbKIn_0HY )

6- Using CHKROOTKIT and RKHUNTER to detect Rootkits ( Basic Overview )
(http://www.youtube.com/watch?v=ydL847SrMWE)

How To Install Software in Debian Based Systems (Ubuntu, Linux Mint etc)



Newcomers in Linux are often confused about how to install software, applications and add-ons in their system. Following the traditional method of Windows, they search the software in the Internet and end up with .tar.gz files that are difficult to install for a newbie. This guide aims to help people new with Linux to install applications on their computer in a easier and beginner friendly way.


Application installation in Linux is easier than you think.. in fact, its comparable to software installation in recent mobile environment as Apple app store, Nokia store, Android market etc. In such environments, there is a single application that manages all installation and uninstallation of applications. Similarly, we have a software center in Ubuntu that manages the installation and uninstallations of applications and add-ons.



Many windows users think that installation in Linux is similar to windows, i.e., search the file over the internet, download it, get the setup file and execute it. This will install the application in their system. This is not entirely true in Linux, though apps can be installed in that way too. In linux, we store all the "setup" files of apps often in a single website, which is called repository. Here you can access/install/uninstall/know info of the apps using a program called package manager, which is apt-get in ubuntu, yum in fedora etc. You issue simple commands that automatically download the files of apps from the repository and install it in your machine.


For those who fear the command line, Ubuntu has a wonderful GUI of their package manager in the form of software center. Here you can search the applications you need, read their reviews, rate it, download/install/uninstall it and do even more. The software center stores all the info of the setup files, (which is known as packages in Linux world), in your computer, known as "cache". As software is updated everyday, the cache of your PC may get outdated and you many need to refresh the cache to access new and updated software. Often it may happen that the software you need is not available in the official repositories of your distribution. at that time, you may need to add it in form of "ppa" to make it availiable to install. You can search more about this things in the internet to learn more.


A software may depend on other files and libraries for its proper execution, which is known as its dependencies. You may often see that other from the application you request, it may also download some extra files as depencies of your program.


Updating Software Cache


As said earlier, your package manager stores all the information about software in repositories locally as cache. It may so happen that the cache gets outdated with time. So the first thing you need to do before installing software is updating the cache. You can issue a single command for this


sudo apt-get update


You dont need to update the cache before instalation of every software, but its highly recommended to update it on a regular basis, as you will not get new updates if you dont update your software cache.


Searching For Packages


To search for software, issue this command


apt-cache search [search term 1] [search term 2] … [search term n]


Getting More Information about a package


apt-cache show <package_name>


This command shows the description of package <package_name> and other relevant information including version, size, dependencies and conflicts.


Installing package(s)


To install a package/software/application, issue


sudo apt-get install [package name 1] [package name 2] … [package name n]


Removing Packages


If you want to get rid of a program, you can uninstall its associated packages.


sudo apt-get remove [package name 1] [package name 2] … [package name n]


If you want to get rid of the configuration files and associated directories (usually in the user’s home directory), you’ll want to add the purge option:


sudo apt-get remove –purge [package name 1] [package name 2] … [package name n]


Most of the time, you can just choose the core package and the associated ones will be removed as well. If it doesn’t, you can use the following command:


sudo apt-get autoremove


Upgrading software


Make sure you update the cache by following the method above. Then issue this single command to update your whole system.


sudo apt-get upgrade


If you want only few packages to update rather than the whole system


sudo apt-get upgrade [package name 1] [package name 2] … [package name n]


Adding More Repositories


Often it may happen that the software you need is not availiable in the official repositories of your distro. In that circumstances, to install software, you may need to add a PPA. PPA in the Ubuntu (and most derivatives) context is "Personal package archive". These 'archives' are Ubuntu's way to add extra packages (or packages that are in the main Ubuntu repos but are newer versions) to the system. These packages are user(or team) maintained and generally are safe to be used... But of course they can give you some problems like bugs etc sometimes...


You add them using your package manager source config like this:


sudo add-apt-repository ppa:name/ppa


Some of the most prominent PPA's:
WINE: https://launchpad.net/~ubuntu-wine/+archive/ppaXorg
propriety graphic drivers: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates


Generally... When you need some package that is not available in the Ubuntu sources... (or it is an old version there)... you should go to the package home page... then find the downloads... and there you look for Ubuntu supported downloads... If such exist... usually the have a description of their own PPA.. so you add the PPA described there... that is secure enough as a whole...


Resolving Unmet Dependencies


If you get errors like "The following packages have unmet dependencies", you can install all dependencies at once by issuing this command


sudo apt-get -f install


Resources
https://help.ubuntu.com/community/AptGet/Howto
http://www.howtogeek.com/63997/how-to-install-programs-in-ubuntu-in-the-command-line/

Google has announced a global programme (Google Summer of Code)


Google has announced --a global programme Google Summer of Code (GSoC) that gives university students a stipend to write and develop code for various open source projects--is now open. 
register here :
(http://www.google-melange.com/gsoc/program/home/google/gsoc2012)
If a student is able to pass all the exams, he will receive $5,000 while mentoring organisations will get $500. 

Saturday 24 March 2012

11 Firefox Addons to translate other language .


Easly Translate on Firefox 11,

select it to auto detect language
https://addons.mozilla.org/en-US/firefox/addon/imtranslator/
Easly Translate doc dll
https://addons.mozilla.org/en-US/firefox/addon/imtranslator/


https: // addons.mozilla.org/en-US/firefox/addon/imtranslator/Easly Translate doc'un vb. üzerinde çalışıyor Firefox 11, seçin otomatik dil algılama https://addons.mozilla.org/en-US/firefox/addon/imtranslator/
Easly Traduisent le toubib et cetera
les travaux sur Firefox 11, choisissez il à la voiture découvre la langue
https: // addons.mozilla.org/en-US/firefox/addon/imtranslator/いただけ 11Firefox に etc/doc の作品の翻訳など、それは自動言語 https://addons.mozilla.org/en-us/firefox/addon/imtranslator/ を検出するために選択

Thursday 22 March 2012

Quick facts about Linux You Should Need To know



Quick facts about Linux for CSE/IT 
Choose the freedom ! Choose Linux !




Linux is multiplatform.
This means that by choosing Linux, you choose a portable operating system on which you can run or
develop portable applications. Linux runs on Sparc (Sun), Alpha (Compaq), Mips,
ARM, x86 (Intel), PowerPC, 680x0 (Motorola), RS6000 (IBM), and so on...
Intel running IBM compatible PC !

Choose Linux to choose freedom of choice !
Linux is multiuser.
On a Linux box, several users can logon simultaneously. This means that you have the freedom to share the
same computer among various tasks launched by various users. This means you can share the same
program installation among various users. This
allows you to
– Save license costs
– Save installation time
– Save backup time
– Save upgrade time
This is only possible if the operating system is very stable and separates efficiently the data and code belonging to various users. Choose Linux because it is multiusers


Linux is opensource.
This means you have access to the code of the operating system. You can actually learn computer
science, change the code and experience the result. You can even participate to the development code.
Linux is good for students. Other non opensource operating systems do not allow learning how a
system works.


Linux is multivendor.
This means that by choosing Linux, you choose to depend on a set of (more than 50) Linux distributors
in the world, plus the opensource community.
This is definitely safer than depending on a unique vendor.
Choose Linux to avoid monopolies !


Linux is stable.
It manages properly the memory, tasks, user rights, access to the I/O and hardware, so that some Linux
hosts are running actively since more than 5 continuous years !
When does a Linux system stops ?
– When there is a hardware failure
– When there is a power outage
– When there is a system upgrade
– When it is shutdown by its owner
Linux development team started even the development of a system allowing upgrades without
interruption of the services ! Compare this kind of stability with Win NT4: Microsoft recognized that
an internal bug caused the system to crash after only 47 days ! Nobody notice, because Microsoft systems
are always crashing anyway !
Choose Linux to choose stability !


Linux manages properly the memory.
 Linux properly manages the memory (demand paging).
The consequence ?
• If a buggy software crashes, you don't need to reboot the computer
• If a software ends, it does not leave unused memory (memory leaking) leading to "Low on resources" error message.
• If a malicious code gets executed, it does not spread among the entire system memory.
• Two users sharing the same computer at the same time can't corrupt the other user software memory.
Choose Linux to increase your productivity !


Linux gives you the choice !
On Linux, you have choice. Tenth of different office suites are available, for various prices, with various
license models, open source or not, with various key possibilities.
Ex: StarOffice, OpenOffice, Koffice, ApplixWare, WordPerfect, Latex, ..Same applies to mail readers, web browsers, ... Linux is not a monopoly. You have choice !
Choose Linux to keep your customer choice !


Linux is European technology !
The creator of Linux, Linus Torvald, is European! Linux is now used throughout the world (Asia,
Oceania, North and South America). Why not in Europe ? Do we need to depend on technological matters on foreign countries, while we have the best technology in town ? Are we plan to add to our regrettable energetic dependency the hightech one ? What might become Europe without technological capability ? Our only resource is our brains. If we become technologically dependent of a foreign country, we are going to become a thirdworld country within the next decades.


Linux is cheap.
Linux, as operating system, is and will always remain free (in the sense of a free beer). There is no
license to pay to anybody. More than that, Linux cost of ownership is very low because of:
• You don't need expensive antivirus software.
• You don't need to maintain a license database.
• You don't need to reinstall crashed/corrupted systems
• You don't need to install expensive remotemanagement software
• You harmed by very old well known bugs that have not yet been fixed
• You can choose your operating system supplier (no monopoly)
• You can choose between various equivalent softwares (alternative solutions exists on Linux)
• You can adapt the system to your exact needs: you remain master of your software solution.
Choose Linux because it's cost effective !


Linux is efficient.
Oracle made a comparison between Oracle 9i running on a Windows 2000 and the same computer
running Linux. The result is 2530% more efficiency with Linux... The problem is that the Windows 2000 license prevents you (the licensee) to compare Microsoft software with other solutions... However, Oracle
published the result because they claim that they don't compare Microsoft's software efficiency, but
their Oracle implementation... Nobody is faked: Linux is advised officially by Oracle as operating system of choice to run their relational database !
Choose Linux because it is efficient !


Linux is not under the control of NSA.
The NSA (National Security Agency, USA) and Microsoft recognized that two sets of secret keys where shipped with Windows in order to allow either Microsoft and NSA to enter any Windows
running computer in the world. Do we accept a foreign security agency to control our bank accounts, our official mails, emails, our justice records ?
Do we accept our armies to run such software ? Linux is opensource. Anybody can check if there is such a backdoor in it. NSA is working on a certificated secure version of the Linux kernel for
USA use, because they know Windows is not secure. If USA chooses Linux for security, why not
Europe ? Use Linux because it's not controlled by foreign intelligence agency.


Linux is not under the control of a software development
company.
As software development company, you can choose Windows as preferred operating system, delivering Windows solutions to your customers. If you do that, you know that soon or later, you will loose your business in favor of Microsoft.
Why ?
Because as soon as Microsoft will identify your business as significant, they will use the same technique they used against Corel, Netscape, Borland, ... They will change the API such a way that your software will become unstable, inefficient and buggy. They will develop hidden API that only their software will be able to use, giving them unfair market advantage... And they will win: they are playing on their backyard... And it's you that choose to fight with them there !
A good counterexample is the success of Sony in the game market: their PlayStation II is NOT RUNNING Microsoft system. That's why they are still on tracks.
Choose Linux to not choose some
competitor's controlled system for your
developments.


Linux is a standard respectful platform.
When you develop on Linux, your software will likely use standardized APIs from standardized
programming languages (Perl, Bash, Tcl/Tk, Java,Posix, AnsiC, C++...) so that your software will be
easily ported on other operating systems:
• BSD
• Mac OSX
• Solaris
• HPUX
• AIX
• True64
• Irix
• Hurd
• QNX


With a bit of care, it is even possible to develop directly pure portable code. So Choose Linux to develop
platformindependent code


Linux is a longterm platform.
Linux has no (marketing) reasons to become incompatible from releases to releases. Far from that. When you develop on Linux, you know that you are using longterm available development tools, APIs, languages... So that your software will last and will not require porting on new operating system flavor. Ex: The bank software developed in 60's on Cobol is\ still usable on Linux. What about availability of VB 4 on XP ? What to do when an operating system provided by only one vendor is not maintained even less than 10 years after its first release ? Can you rely on such a system for your business ? Choose Linux because it's long lasting.


Linux is multitasking operating system
What does this means ?
This means high productivity. You can at the same time print, work, download, write a CD, play music,
compile, compute, backup your system, and so on... By the way, you may be even not the only user to do
that on your system at the moment, because Linux is also multiuser...
Click twice on an icon. Linux will launch twice the application. Did you already tried to overload your
system while writing a CD on a non multitasking system ? Your trash would be full of missed CDs... Multitasking means that instead of using in average 25% of your CPU, with Linux, you can use 100% all the time.
Choose Linux to use 100% of your hardware !


Linux is multiconsole.
Linux comes usually with 6 textbased consoles, plus 1 graphical one. On that graphical console, you
have by default 4 virtual screens. First users gets confused by so many "screens". Once used to it, systems providing only one desktop will look frustrating to you. Why should you be limited to only one desktop ? Why not launch the word processing tool in plain screen on one console,
the web browser in an another one, and leave my preferred game paused on the third one ? Soon, you will increase the number of such consoles to 8, 12 or 16... And surprise ! You will not even
need to reboot to enjoy it !
Choose Linux to increase your working environment


Linux is a new technology !
Linux is modern: its development started in 1992 (only). Compared with other systems that are DOSbased
(DOS comes from the 70's), it is strange to heard about "New Technology" when speaking
about Windows... So, Linux had no problem with the (unpredictable) year 2000 issue. Linux doesn't know 640KB or 64MB memory problem. Linux systems works with
up to 4096 MB... Linux has no problem with "8.3" file names (such as
MYDOC~11.DIR or hard disks having more than 1024 cylinders...
Linux has no problem dealing with time zones or Ipv6 because it's a modern operating system !
Choose Linux because it's new technology !


Linux is the stateoftheart for R&D
IETF (Internet Engineering Task Force) engineers the new protocols and applications for the worldwide
Internet. It is the meeting point of all the R&D (Research and Development) teams in the world (Cisco, Nortel, Alcatel, Philips, Lucent, Nokia, Ericsson, IBM, Sun, ...). Their working groups are
writing the RFCs: the standards for the Internet.
They are mainly using
• Linux
• BSD
• Solaris
for their prototype implementations, for their validations, their tests...
During meetings, half of the installed computers are running Linux. Only the employees of Microsoft are
developing on Windows, because other have no access to the core of the system.
Choose Linux because it's the state of the art at world scale !


Linux runs on a Journalized File System (JFS).
What does this means ?
It means that in case of unexpected system crash (not a bug, we are speaking about Linux) as a power
outage, the file system is not damaged. The next use of the file system (when the system will bootup
again, as example) will lead to a very fast (some seconds on very large file systems) recovery, with
guaranteed rebuild of all the files, including the one that were opened at the crash instant.
This means no file corruption, no file loss, no system corruption (lack of DLLs....) and very quick system
availability. Some very well tuned Linuxbased file server have recovery time of 25 seconds in case of system crash. This delay is perceived by users as a network overload, while actually the entire server rebooted !
Use Linux to save your data !


Linux provides software RAID services.
What is RAID ?
RAID is a way to get protected from harddisk failures. An example of RAID ? Let's imagine the three directors of CocaCola company. If one of them knows the entire production secrets, he might build his own company. If each of them knows only the third of the secret, as soon as one dies, the product is lost. So, let's divide the product secret in three: part A, B and C. Director 1 knows secret A, director 2 knows secret B and director 3 knows secret C. For redundancy reasons, let's learn to director 1 the
secret B too, to director 2 the secret C and to director 3 the secret A. In this case, none of them knows the entire production method, but any of them might die, the remaining knows what to learn to the newly hired
director. The only thing we know about harddisks is: they will die. But no one's know when. If you want your data to survive your hard disk, use RAID (as Linux provides you for free). You will have the opportunity to replace your crashed harddisk and see the system rebuild the missing data without even stopping you to work ! Use Linux to save your data !


Linux proposes the stateoftheart desktops environments.
Linux means freedom. Also freedom of choice: you can choose between several desktop, window
managers, ... It's not only about customization: you really can choose between alternative solutions to manage your working environment.
• Gnome
• KDE
• CDE
are various graphical environment available on Linux. They are not only curiosities: the well known Sun Microcomputers ships KDE and Gnome as desktops with its very famous Solaris operating
system ! Choose Linux to enjoy the
stateoftheart
working
environment !
Quick facts about Linux...
Linux is the most used operating system in the
world.




Linux is (quiet) a safe platform.
The famous ISS company (Internet Security System) selling Internet security tools advises officially
during trainings the use of BSD or Linux as platform of choice to run their products.They state that they had the possibility to check and/or amend the code of the underlaying operating system to guarantee the security of the overall system, while they can't guarantee whatever about
the security provided by their security software when running on non opensource operating systems, such as Microsoft's products.
Choose Linux because it's a almost safe platform


Linux is used by the most prestigious companies in the world.
Other companies wants to hide this, either because they are not proud of using free software for marketing reasons (as RollsRoyce or Microsoft) or because they don't want their
competitors to know about this leading technology, considering the use of Linux as a trade secret.
Some are no more free of taking the right decision: some commercial operating system vendors are shareholders,or they signed a commercial agreement... However, prestigious
companies are using Linux, such as:
* Toyota * EDF * Deutch Bank * Boing * Alcatel * Nortel *
IBM * NASA * France Telecom * P&T Luxembourg * AT&T
* British Telecom * Pixar * Sun Microsystems * SESAstra


Our Google Also :



Wednesday 21 March 2012

Stanford U & Udacity are offering some pretty decent classes for free.


Stanford U & Udacity are offering some pretty decent classes for free. If interested, check out 

  • CS101 - BUILDING A SEARCH ENGINE
  • CS212 - DESIGN OF COMPUTER PROGRAMS
  • CS373 - PROGRAMMING A ROBOTIC CAR
  • CS387 - APPLIED CRYPTOGRAPHY
  • THEORY OF COMPUTATION
  • DISTRIBUTED SYSTEMS
  • COMPUTER NETWORKS
  • OPERATING SYSTEMS




many more 
Just go these sites And register Here for free


https://www.coursera.org/
http://www.udacity.com/

How to increase downloading speed.




How to increase downloading speed , how to surf fast are the question raised by internet users who are having less downloading speed, they can increase their internet speed .


Most of us will be feeling that the surfing speed which is allocated by our ISP is not enough. Guys having 64Kbps thinks 128Kbps will be nice speed. Guys with 128Kbps thinks 256Kbps will be nice and there is no stop for our greediness


how to increase your 64Kbps link to 512Kbps or what ever speed you like.? 


It is very much possible to do this. With a bit of luck if your Cable Internet Service Provider are very uneducated on how this very new technology works and leave some key loopholes open for you to grab vital information on how to accomplish this task. But this tutorial will no guarantee you 100% success.


Lets start i ll explain here 


Theory of cable modem working


All the cable modems when it boots up it will search for an "Image file" where in all configuration like your upload speed limit and download speed limit is defined. This "Image file" is stored in ISP TFTP's server. Modem will be pre-configured with the ISP TFTP's server IP -address and the Image file name to be downloaded. When the modem boots up it query TFTP's server and download Image file from TFTP's server according to this this our speed limits will be set.


Our Mission
Obtain this required image file from ISP`s TFTP's server, reconfigure it according to our need and force our modem to download this file from our Computer rather than downloading it from our ISP`s TFTP server.


Steps to accomplish



1). Obtain cable modems MAC address
2). Obtain your ISP TFTP's server IP- address
3). obtain name and path of the "configuration file" or Image file stored in the ISP TFTP's server.
4). Download Image file from ISP TFTP's server.
5). Decrypt the Image file which you downloaded from ISP TFTP's server
6). Modify the Image file
7). Encrypt the modified Image file
Cool. Modify ur computer's TCP's config same as ISP TFTP.s server (i.e. IP -address same as ISP TFTP's server)
9). Hostt TFTP's server in your computer
10). Put Image file in the base directory of your TFTP
11). Restart your modem
12). Changer your PC's IP back as given by ISP
13).  Done surf with a great speed now


Its just a demo how it is happening :)

How to Choose The Best Linux Distribution For You


I saw that many people have problems choosing an linux distro that will suit them.
So i found an exelent Linux quiz that tells you what linux distro will suit you the best


go to this site
http://www.zegeniestudios.net/ldc/index.php?firsttime=true

Monday 19 March 2012

Linux beginner's Workshop 1.

Linux beginner's Workshop

 

This is a slideshow used in an introductory Linux workshop. This is Best slide to which i have found on google for you to understand in better way .

Sunday 18 March 2012

Network Security Slide

C programming on Linux For Beginners


Linux is probably the best platform to start developing programs for beginners.This tutorial covers C programming basics like installation, compiling first program, running first C program on Linux.


C Programming on Linux:
Here is step by step detailed guide on showing you how to write and compile a C program in Linux. Note that the C code that you will write on Linux will be same that you would write on Windows/DOS, as long as you are writing ANSI C code. Some library functions, such as those provided by conio.h and graphics.h, are not part of the ANSI standard. Hence you won’t be able to use them on Linux. The C compiler you use on Linux is GCC





Open a terminal and run the command gcc:


$ gcc
gcc: no input files


If you see something like the above output, gcc is already installed. If you see something like “Command not found”, then you will have to install gcc using the package manager. Besides a compiler, you will also need the C standard library, called glibc, to compile your C programs correctly. Type in

# locate glibce




and check the output. If it shows directory structures of the form ‘/usr/share/man/man7/glibc.7.gz’ or ‘foo/bar/glibc’ or the like, then you have glibc installed; else you need to install it.
Okay, now that we have confirmed the presence of a text editor, a compiler and the standard library, let us write our first code in C on Linux. For demonstration purposes, I’ll show you how to write and compile Hello World!
Start up gedit (You can use vim or other editor also) and input the simple C code to print the Hello World!

Or use the terminal to open your favourite text editor, type in
 


$ gedit PROGRAM_NAME.c   e.g  $ gedit Hello_World.c
OR
$ vim PROGRAM_NAME.c    e.g   $ vim Hello_World.c


Now input this simple C code to print Hello World!

#include <stdio.h>


int main()
{
    printf("Hello World!\n");
    return 0;
}
Save this code with the name  Hello_World.c  Now, compile the code using the following command:
$ gcc  Hello_World.c  
After executing the command, type in
ls -l  
You will see an ‘a.out’ file. This is the executable file of your C program, compiled and linked with the appropriate libraries. To execute it, run(note the leading ./, which is essential!):

$ ./a.out
Hello World!

 Congratulations, you have just written your first C program on Linux! That was just the normal C that you write on DOS or Windows – no surprises there!
A bit more about this a.out file: This is the Linux equivalent of the .exe file that you would see under DOS/Windows; it is executable form of your code. As you might have already guessed, this file cannot be executed on DOS or Windows, since it is in a different format. Now instead of having to rename your executable file each time you compile, you can specify the output file name to the compiler:
 $ gcc -o Hello_World Hello_World.c
If you still have any questions/concerns/suggestions, share it on our comment below!

Finding the Size of a Folder or Sub-folder In Linux

 In Linux, to find the size of a current folder, type the following command in terminal:
du -sh 

To find size of all sub-folders and files in the current folder, type in: 
du * -sh 


Note:
s stands for ‘summarise’
h stands for ‘human readable format’

Text-Based Web Browsing in Linux

Text-Based Web Browsing in Linux
You may use elinks or links in text mode to browse websites from a console. elinks can not only be controlled by a keyboard we can also used the  mouse.
Here’s how to get started:
first of all install elinks

apt-get install elinks


now type in 
elinks http://securitypiss.blogspot.in
and hit enter
enjoy Linux :)

Play Songs From the Command Line – Linux



First Of all download any song if there is not in ur computer like me :P
TYPE IN GOOGLE
intitle:"index.of" .mp3 punjabi 


now click on first site and download the song of heer.
then after this


You can play any song file from the command line without using any player.but we need a utility called SOX
You can install it in a Debian-based system as follows:
 sudo apt-get install sox 
To play a song from the command line, use: 
play song.mp3 
where song.mp3 is the path to your MP3 file. To stop playback, hit Ctrl+C. If your song’s file name contains spaces, specify the file name within double quotes. For example: 


play "song 2.mp3"
When playing audio files, you can even specify more than one input file as follows: 
play "song 2.mp3" "song 3.mp3" "song 5.mp3"  



Make Your Linux Box Speak


Ubuntu and many other distros have an inbuilt speech synthesiser called espeak. Use the following command in the terminal:
espeak Linux

Did you hear your Linux box report, “linux” ?
Now replace linux with these words .and listen .
"I'm new in Linux World"