Short tips

Mounting an iso – Example:
mount -t iso9660 -o loop /home/downloads/pup.iso /mnt/Image
The ‘-t’ option specifies the filetype – this is optional.
This command works with both ISO and MDF images.

making a floppy image file from a bootable floppy to use when making a bootable cd
dd if=/dev/fd0 of=/tmp/floppy.img

Battery check:
grep -F capacity: /proc/acpi/battery/BAT0/info
Notice that the BAT0 part of the command may be different on your laptop, eg, compaq nc6000 names the batteries, C137 and C138, so replace BAT0 with C137 or C138. look in the /proc/acpi/battery/ directory to find the name of your battery.

Tired of pressing the up arrow key to search through your history? Then try this in a terminal instead
Ctrl+r (Press the control key and the r key in a terminal)
You should see this
Now start typing in part of a command, and it will search the history as you type to find what you are looking for!
When you have the right command press
Ctrl+o (Press the control key and the o key in a terminal)
This will now run the command.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.