Friday, September 30, 2011

watch command example

suppose we have given the following command


dd if=/dev/zero of=/home/celsius/swapfile count=1G


we can use watch command to see the swapfile grow as follows

watch ls -ltrh swapfile


see also:-

http://aarklonlinuxinfo.blogspot.com/2009/09/watch-live-interrupts.html

Wednesday, September 28, 2011

gui for creating iso image






sudo apt-get install acetoneiso

brasero CD/DVD writing problem






SOLN:-


make an ISO image of the folder then write the ISO image


see:-

http://aarklonlinuxinfo.blogspot.com/2008/06/command-line-cd-writing-in-ubuntu.html

Friday, September 23, 2011

group management

How will you identify to which a particular user belongs to ?

groups user_name

Ex:-
celsius@gmladmin:~$ groups celsius
celsius : celsius adm dialout cdrom plugdev fuse lpadmin netdev admin sambashare


How to make a particular user admin of a group ?

gpasswd -A username group_name

How to make a user member of a particular group ?
gpasswd -a username groupname

How to remove a user from a particular group ?

gpasswd -d username groupname

Tuesday, September 13, 2011

Sunday, September 11, 2011

how to convert mdf files to iso in linux

install the package mdf2iso

MDF to ISO: Open a terminal, go to the folder that the CUE/BIN file is located and type:

mdf2iso filename.mdf filename.iso

Monday, September 5, 2011

How to reduce image size using gimp ?

soln:-

to do that with the GIMP you don't need to scale it - just SAVE AS (and JPEG) under the file menu. Whether you change the file name or not, a sub-requester opens up with a QUALITY meter on top, as well as a section of ADVANCED OPTIONS. Simply by lowering the quality from 100% the file size will be greatly reduced.

Just tried this, and a 925k photo was reduced in size to 132.5k by reducing the Quality setting to 50%. Side by side in the GIMP I cannot tell the two images apart at normal viewing.