How To Search Terminal Commands Recently Used

“Mini How To” How To Search Terminal Commands Recently Used.

Introduction

You know how to skip through the commands by using the arrow up and down keys but wouldn’t it be easier to search through the commands?  In this Mini How To I explain how to do it.

Recursive Search

You’ve typed in a long command for instance:

sudo hddtemp /dev/sda && sensors | grep Core\ 0 && sensors | grep Core\ 1

To check the temperatures of the machine that you’re working on.  You’ve checked it once and after a couple of days you want to use it again.  To do so as said you can scroll through the commands using the up and down arrow keys.  It might take while depending on how many commands you used after this one.

Using Script-fu in GIMP

I upload images a lot and needed a way to batch resize 35 or more for use.

When putting a photo gallery online with 30 or more images, it sometimes becomes a real drag to scale down one by one.  When I was using Photoshop, I used the automate process to create a macro. However in GIMP, Script-fu is used and is an excellent way for batch editing, but it doesn’t have macro function. Script-fu as name suggests, uses a script for batch editing.

Script-fu was developed to allow a command line access to GIMP. In this case how ever we will be using the user interface version.

I need to find a script to perform the task’s I wanted. Found it on the gimptalk forum.  Yes I could have written a script my self but why waste the time.

There is a downloadable script that doesn’t adjust width and height like I wanted. I wanted to scale the images from 100% to 50%.

fstab demystified how to add partitions and more

In this post you will learn to understand fstab and it’s entries. This post is a follow up to: How to partition new hard drives the easy way. It will show you how to add the new partitions of the new hard drive to fstab to mount the partitions automatically on boot.

Unfortunately there is no way to do this in a “point and click” manner. At least I’ve not been able to find one.

Maximum number of clients reached.

I’ve been getting this error lately “Maximum number of clients reached”. After doing some research if found out it was a swap problem. The UUID of the swap partition was wrong thus there was no swap to be used. This caused the “Maximum number of clients reached” error.

To fix this you can do two things.

Sound problem fixed.

As said I have a A205-S5825 Toshiba Laptop, and I was surprised when sound worked out of the box but dmix didn’t. Haven’t been able to find why but today I had some extra time and I finally fixed it.

Description of the problem:

Normally ALSA(Advanced Linux Sound Architecture) will install Dmix out of the box and it will work right away in this case for some reason it didn’t. Possibly because of an issue during installation of the OS.

« Previous Entries