Tuesday, February 8, 2011

How to create a BOSS Linux's installable USB drive using unetbootin?

1. First you need to update with repository
$sudo apt-get update

2. Install the unetbootin package using
$sudo apt-get install unetbootin

3. Now you have a new menu entry in
“Applications → System tools → UnetBootin”



4. Format the USB drive and then copy the BOSS linux's ISO image into it.

5. Open the GUI for creating the Installable USB drive
“Applications → System tools → UnetBootin”
now you will get the following GUI application



6. Select the custom option then browse and select the kernel (vmlinuz), initrd and paste “video=vesa:ywrap,mtrr vga=788” into the Options field




7. Now select Type as USB Drive, Drive as /dev/sdb(n) [n=1,2,3 as no.of usb drives inserted in the system] then click ok.

8. Click Exit. Thats all Installable USB is ready.



9. Now your USB drive has the following files.
1. ISO Image of BOSS linux (Copied manually by us)
2. ldlinux.sys
3. menu.c32
4. syslinux.cfg
5. ubninit
6. ubnkern

Monday, January 31, 2011

How to create printable version of a man page..?

Most of us are always feel boring to read man pages in terminal window. what if we have a printable version of a particular command's manpage.? Nice isn't it.. so, how we can create a printable version of a manpage...

Step 1: Issue the following command in terminal
$man -t [the_command_you_wish] > destination_file_path.ps

Ex:$man -t mkdir > ~/Desktop/mkdirs_manpage_printableversion.ps

Now you got a file named " mkdirs_manpage_printableversion.ps " in your Desktop :). you can now print and use it..

Note: .ps is the default file type used to print.

Tuesday, January 18, 2011

how to find the pattern within files?

Using grep we achieve this..
Say we have to find out the word "gdk" from all the '.c' files in a directory.. the command would be

$grep -i "pattern" files

ex: $grep -i "gtk" *.c          <===== Will search all .c files in the current directory.
ex: $grep -i "gtk" file1, file.23, file <== Will search only in the specified files.

Find and remove duplicate photos in Linux distros..

While searching I got to know about two softwares for finding the duplicate images in various folders...
1. GQview
2. Digikam (KDE desktop)

Tuesday, January 11, 2011

how to get the information/details about the installed packages in debian linux?

$dpkg -s "package-name"

-s <- is the option for find out the status of the given gives information like

1. The package is installed or not, removed
2. size of the installed package
3. Architecture support
4. Dependency
5 Version and so..