Here are some usfull Linux Tips


Tips for using ls:

ls -lsa --color Color ls with permissions, ect...
ls -CF Displays * for executables, / after directorys.

Display User/Free Space

df Display disk space.
df -h Displays disk space in MB.
free Display memory usage.

Fix messed up VC

Prevent creation of core dump files

ulimit -c 0

Taking a screen shot of a VC

cat /dev/vcsa(VC number) > screenshot.vcsa


This grabs a copy of screen memory of char/attribute pairs in the same manner that the screen is organized under MS-DOS, etc..

If you dump this file back to a vcsa device, you'll be viewing it on that vc.

If you just want the text without the color stuff, use the /dev/vcs(VC number) devices instead.



Back to home page. HOME


Last Updated: 07/23/00
Mikkel L. Ellertson mikkel@Infinity-ltd.com
Copyright © 2000 Infinity Ltd.

Valid HTML 4.01 Transitional