29 July 2000: X related items moved to XFREE->X Tips
Being a collection of tips from several people, mostly relating to Caldera's COL 2.2, 2.3 and eD2.4 distributions.
SEARCH SCRIPT
From: Guy Hammer <guyh@teleport.com>
Here is a script to save a bunch of keystrokes. Make a file
/usr/local/bin/psgrep . Paste the following into it:
---start---
#!/bin/bash
#
# psgrep - search for a process by pattern.
ps -ef | grep -v grep | grep $1
---end---
Make the script world executable. Now you just have to type
'psgrep matrix'.
SYSTEM PERFORMANCE
Peck Dickens wrote:
>
> I recently found a web site (You may already know about
it) dedicated to tuning
> Linux for performance. The articles are informative and
the and the two modules
> I have tried perform as advertised. The URL is http://linuxperf.nl.linux.org
> They seem to have everything you could ever want in the
way of information and
> tools for tuning servers and workstations.
>
UNMOUNT ICON
To unmount a drive that has been mounted by clicking on it's desktop icon, RIGHT click on the icon and choose 'unmount'.
CORRUPTED CONSOLE SCREEN
From time to time, you can inadvertantly corrupt a screen by
doing cat
binary_thingo
This sometimes causes permananet garbage as the control
characters in the binary file have been enacted.
To get out ot this blind hole type
reset
clear
KMAIL
From: David Male
In K Mail (kde 1.1.2 network upgrade) right click on the senders' address on an incoming mail and it gives you the option to add it to the address book.
Floppy Disks
A useful format and two copying commands.
Format
fdformat /dev/fd0u1440
Copying
cat YOURFILE > /dev/fd0u1440 note the redirect symbol'>'
To make an exact copy, including the boot sector just do the following;
dd if=/dev/fd0 of=/dev/fd1
This is also a good way to make a backup of a floppy, or make it easy to make multiple copies.
dd if=/dev/fd0
of=filename
Where 'if' means Input
File and 'of' means
Output File
|
|
|