Saturday, 6 October 2012

GETTING STARTED WITH LINUX - PART 2

                  In linux, terminal command line is the most powerful tool using which we can accomplish almost everything you need to do. In ubuntu 10.04 and 10.10 you can find the terminal  in
   Applications menu -> Accessories -> Terminal
In later versions just search for "terminal" in the dash or use the keyboard shortcut  "Ctrl + Alt + T".terminal its similar to the command prompt in windows.

Commonly used terminal commands :

1) ls : This command is used to list the content of the specified directory.
General format is,
                                ls   [-option]   <directory_name>

for example, "ls -a" shows all contents in the current directory and "ls -al" shows all the files in the long format.


2) mkdir : This mkdir ( make directory) command is used to make or create new directories.
General format is,
                                mkdir <directory_name>
for example, the command "mkdir new_folder" creates a new directory inside the current directory


3) rmdir : This rmdir( remove directory) command is used remove or delete the specified directories. a directory should be empty before removing it.
General format is,
                               rmdir <directory_name>

4) cd : cd( Change Directory) command is used to change the current working directory to a specified directory.
General format is ,
                               cd <directory_name>

5) pwd :  pwd(print working directory) command displays the full pathname for the current working directory.

6) sudo : sudo commands provides administrative privileges to the operation being performed

7) cp : cp(copy) command is used to copy the content of one file into another. If the destination is an existing file, the file is overwritten; if the destination is an existing directory, the file is copied into that directory.
General format is,
                                 cp [-options] <source-file> <destination-file>

8) wc : This command is used to display the number of lines, words and characters of information stored on the specified file.
General format is,
                                 wc [-options] <filename>

9) cmp : The cmp ( compare) command is used to compare two files.
General format is ,
                                  cmp <filename1>   <fileneame2>

10) du : This du ( Disk Usage) command reports the disk spaces that are consumed by the files in a specified directory, including all its sub-directories.
General format is ,
                                   du [-options] <directory_name>




Installing an application in terminal:

Now lets see how to install applications using terminal in ubuntu.  For the sake of demonstration lets try to install pidgin which is a multi messenger application for linux

1) open terminal, you'll see something like this
                 
                                 user@computer:~$
2) enter "sudo apt-get install pidgin"
             
                                 user@computer:~$ sudo apt-get install pidgin

3) terminal will now ask for the user password to install the application, enter password and enter "y" to install the application.

                        If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you!





Sunday, 30 September 2012

GETTING STARTED WITH LINUX - PART 1



WHAT IS LINUX?

     Linux is free open source operating system developed by Linus Torvalds with the help of hundreds of programmers around the world.


WHY USE LINUX?

     There are hundreds of reason why to use Linux. Some of them are
  • Linux is an open source operating system, meaning you can use it for free
  • Free from viruses
  • Your computer won’t get slower day by day like it happens in Windows
  • Some Linux  distributions come with auto defragmentation so that you don't have to defrag the hard disk to improve performance.


GETTING STARTED

     First step in getting into the world of Linux would be to install an Linux operation system in your computer. There are hundreds of Linux distributions available on the internet, most famous of them being fedora, Ubuntu, openSUSE, Debian, Linux mint. but for an absolute beginner the best Linux distribution is Ubuntu.

Installing Ubuntu inside Windows ( Using Wubi ):

    Many are afraid to install Linux fearing about loss of data when installing new operating system,  in the video below I've showed how to install the Ubuntu operating system within windows easily like an software not causing any loss of data.




Using virtual machine ( vmware / virtual box) :

    Another way of using Ubuntu is in virtual machine. Virtual machines allow you to run other operating systems within your current operating system. I prefer using Virtual box software as a virtual machine. There are many other virtual machines such as Vmware. I hope the video below will help you with Ubuntu installation in Virtual box and Vmware.






Installing on a hard disk partition:

    If you want to install Ubuntu on a separate hard disk partition the following video will help you. Make sure that the partition you want to install is empty or doesn't contain any required data.



     Thats all for this post! If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you!

Tuesday, 24 July 2012

TURN YOUR LAPTOP INTO WIFI HOTSPOT

                     

                           Sometimes it becomes necessary to share your laptop internet with your smart phone or with someone else. Connectify is a wonderful software for this purpose. you can download the software + crack from the links below
                                               4shared                         Torrent
Once you download the file, unzip it. Install connectify by clicking on "ConnectifyInstaller.exe" . After installing go to the Crack folder and copy "Connectify.exe" and paste it in the installation folder of software. Which is usually located in "C:\Program Files (x86)\Connectify" and replace the original file. Now restart the computer and you're ready to use!


Hotspot Name : Its the name of the wifi hotspot which will be visible when someone scans for wifi with their device.

Password: Make sure to include numbers and symbols so that its not easily cracked. 

Internet : This is the internet connection in your laptop, it can be Dial-up connection, Wireless network connection or dsl.

Security Mode:  This chooses the security type for the wifi you're sharing, make sure you choose WPA2-PSK if you want your sharing to be secure, as WEP encryption can be easily hacked. Select "Open" type if you don't want to set password.

                                    "Start Hotspot" and you're ready to share!


               If you get any errors make sure to update your wifi adapter driver by going into device manager from control panel.