Saturday, 19 May 2012

Google Chrome Blog: Keeping tabs on your tabs

 Google Chrome Blog: Keeping tabs on your tabs

Install .rpm files in Linux

As we already know, Linux based operating system has two kind of variants, Debian and Redhat. In the previous post we had just seen how to install a .deb file in a Debian system. Now let me share the installation method in Redhat variant Operating Systems.
We usually use .rpm files to do offline installation. Now assume that i have a .rpm file named chrome.rpm in my home directory,

To install the package use the following command 

rpm -i chrome.rpm

To upgrade the package 

rpm - u chrome.rpm

To uninstall the package 

rpm -e chrome.rpm

Friday, 18 May 2012

How to Install .deb file in Linux MInt/Ubuntu/And other variants

For the Debian variant Linux operating systems, for offline installations  we use .deb files. Like .exe files, they can be downloaded from  internet. Then what will you do with that?
Here is how to install a .deb file in Linux(Debian variant ). I assume you have the downloaded file in your home folder.(say i have googlechrome.deb in ma home folder)
Now open up the terminal (Ctrl+Alt+T) and paste the following command and hit enter

dpkg  -i  googlechrome.deb

That's all you have finished. Now let us have a quick look on what we can do with dpkg
  • dpkg –remove: uninstalls  a package
  • dpkg –unpack: doesn't installs but just  unpacks the file
  • dpkg –configure: presents the available configuration options for the package 

Wednesday, 29 February 2012

Create a hidden folder in Linux using terminal

Now let me discuss how to make a hidden folder in your Linux system using simple command. This can be considered as the application part of the previous blogs about handling files and folders.

open up command terminal :

step 1 : make a folder using mkdir command

     mkdir myfolder

step 2: Use mv command

     mv  myfolder  .myfolder


Enough there is a hidden folder created inside your home directory. You can also make existing folders with mv command as specified in step 2. You need to just change the folder name only :)

Handling Folders and Files with Linux command Line -Final Part

Now remaining are just 2 operations .Copying and moving files and folders.You can copy a file using cp command
Inorder to copy a file to a destination we can use cp command.usage is listed as follows: 
   cp  <file to copy >  <destination>
Moving Files or folders with mv command. 
   mv  <source file >  <destination>
Now you can handle your files and folders easily.


Thursday, 23 February 2012

Handling Folders and Files with Linux command Line[part2]

In the previous part I just explained 3 commands that will help you to navigate through files and folders in your system.In this section let us discuss how to perform some actions like create, rename, remove folders using command line.
Creating a folder using the command:
The command used to create a folder is mkdir .Open up the terminal and type :
                              
                                 mkdir myfolder

 A new folder named myfolder will be there in your home directory.You can make folders anywhere in your system.But you must mention the directory address for your folder with folder name otherwise the folder will be created in the current directory.
Eg: to make a folder in the directory /tmp use the following command.

                                 mkdir /tmp/myfolder


Extra note : Normally your system will not display any message after creation of the folder. If you add the parameter -v to the mkdir command you will get a message after the creation of the folder (eg: mkdir myfolder -v)
Removing a file or folder
The Linux kernel consider folder and file as same .You can remove any file or folder using the command rm .
the usage of the command is rm  [option]  <file> .
Here are the important options you might use.
 -f    (forcefully removes file with no prompting)
 -v   (Explains what is being done)
 -r   (Removes files recursively in a directory.It is used when the folder contains subfolders.)
I just mentioned the syntax above. But you need just a single command to remove a folder that is
             rm  -rf  /tmp/myfolder

here '-rf' is the option with the command which says that files will be removed recursively and forcefully. And /tmp/myfolder will be the folder we want to delete.

Wednesday, 8 February 2012

Handling Folders and Files with Linux command Line[part1]


As we know Linux command Line is the powerful tool for a user. First of all let us discuss about 3 basic commands which helps you to manage files and folders.
      1. pwd
      2. ls
      3. cd
pwd :
This command prints the present working directory. That is if you want to know actual location where you are standing in your terminal section ,just type pwd . It makes your navigation better.
ls  :
The ls command is used to list the files and folders in the current directory .It is similar to the 'dir' command in Windows. It is important to mention about some parameters those are used along with ls to make this mapping efficient .

    1. ls  -a
    The above command will list all the files and folders including the hidden
    files.
    2. ls  -r
    This command will list the contents in reverse order.
    3. ls  *.txt
    This will list all the files of type .txt .You can change the extension say .jpeg
    for picture type files.


cd :
The simple command which is used to navigate to another directory expanded as change directory. The syntax is cd   <directory>
eg: cd /usr/bin will move the current directory to /usr/bin.
Note : You can navigate to the previous directory by the command 'cd ..'






Saturday, 28 January 2012

Make a USB installation media from a Linux ISO

This is for those people who are going to migrate from Windows to Linux. It is better to use a USB flash drive for OS installations instead using a boot-able CD or DVD. Because it is faster and more reliable.And it is more flexible when you use it as a live system. So I am going to explain how to do it. Lets make a boot-able Linux USB installation media from a Windows system.

Requirements :
           1. A Working USB drive of 1GB or greater.
           2. Unetbootin : Free utility (Click to Download)
           3. A Linux/BSD Distribution ISO like Ubuntu
           4. Windows XP or later as your base.
Now gather all the items listed above then lets get started.

1.Install Unetbootin and open the utility. It will be looking as follows:

From the above window select the ISO disk image from your local drive where it is saved and select the target USB Drive which is going to convert to a boot-able one, leave all other options and click OK.If your USB does not  detected then reformat it to FAT32 and try.

2. It will take couple of minutes to copy the files and make it done .After that click on 'Restart Now' or 'Exit  according to your wisdom.Now your boot-able Linux USB is ready. You can make use of it.

Please Note : 
Sometimes there may be a boot device error and you will not be able to boot up from your USB boot-able drive. This is because your partition is not active .To Fix this error follow the steps below.

1. Open windows command line (for windows XP type cmd in run window and press enter ,For     Windows Vista or Later type cmd in start menu ,right click on it and select run as administrator and then OK )
2. Now type : 
             DISKPART .
3. In diskpart utility window type the following command:
             LIST DISK
4. The above command will list all the disks in your computer. Figure out your USB drive number. I assume mine as 1. Now type :
             SELECT DISK 1
             SELECT PARTITION 1
5. To save all the operations and exit type the following commands.You are done.      
           ASSIGN 
           EXIT.


                                   

Monday, 16 January 2012

Know the amount of available Disk Space in Linux


We are already know that the Linux shell is the powerful tool which is capable of doing any jobs related with Linux OS .Read more about Linux terminalclick here .Here in this post I am going to tell about a simple command which is used to know the free space available in the hard disk partitions with in no time.
To get started open up the  terminal and  :
  • Type df you can see the list of partitions with available free space listed.
  • Type df -a to get a detailed listing of free space. this Include in the listing file-systems that have a size of 0 blocks, which are omitted by default.
  • Type df -h to get a listing more optimized .Here size is listed in MBs .-h stands for human readable form .
To get the detailed syntax information use the command man df. This will list all the possibilities of the command.


Friday, 6 January 2012

Draw and paint in Linux

This post has been moved to other page : CLICK HERE TO GO


*****************************************************************************************

 
  

Sunday, 1 January 2012

Welcome 2012

Lets welcome the new year 2012 with joy .Let us hope it might be another year of fun and inspirations. The Linux started its historical journey in 1991. It is been 20 years now. The growth was really dramatic , It will continue its journey in that way. Once again Happy new year for all who loves Linux and opensource.