Unix scripts


On this page you find some handy unix scripts which I programed by my self. The page itself was also created by the script createScriptTable. It uses also a header and foother HTML-page and the parameter -html to generate HTML ouput.


bin

Script

Description

about

print user information

asc2iso

converts CP 437/850 "Umlaute" to ISO 8859 equivalents

backup

backup a directory tree

base

print number to different bases

cdbackup

create a cd-image and write it

cdimage

create a cd-image

clean

clean up

cleanupbookmarks

cleans a netscape bookmark up

createScriptTable

create an html-table with all script-descriptions and links

diff2html

convert diff output to HTML

dirmod

change permission of a directorytree

dirown

change owner of a directorytree

display

set the display variable correct

doFtp

execute a ftp-command on a specific host

dspell

check german word with ispell

espell

check english words with ispell

findholes

find security holes

getspaces

create a string with a given number of spaces

gettabs

create a string with a given number of tabs

htmltable

format input in HTML table form

idle

find all idle users

isdigit

test if the argument is a number

iso2asc

convert German "Umlaute" from ISO 8859 to CP 437

iso2html

changes ISO 8859 special characters to HTML-characters

javacompile

compile a java application which is defined in the

javarun

start a java application which is defined in the

killbyname

kill process by given name

latextools

simple script to view / print and convert latex files

loged

find all users on the system which where loged in

lsdots

list all dot files in a directory

lt

directory list with summary

maketargets

show targets in a Makefile

manprint

print man pages to the printer

mansave

saves a man page into a file

modifiedFiles

Searches all modified files

parsesrc

search methods or javadoc description in source (Java, C++, C). It can also filter javadoc description from src.

pfind

search a text in files

removeipc

rscape

start Netscape with a URL. If Netscape is already

savedots

save all dot files in a directory

setdate

Sets the date from a timeserver.

spellLatex

check latex text with ispell

striphtml

remove HTML tags from input

tabulize

substitute whitspace with TABs or TABs with whitspace

tolower

change filename with upper letter to lower letters

toupper

change filename with lower letters to upper letters

updatetime

sets the time from a time server

verifyJavaSource

verify java sources

winmount

mounts a windows driver or directory with samba

writeimage

write a image on a cd



bin/cvs

The scripts in this section wrappes the common cvs commands and extends the cvs to a non-concurrent version system. I know that this is NOT the idea of cvs but I used a good version system like cvs with the functionality of cvs. RCS was not the solution because it works only on a local mounted filesystem.

Script

Description

cvsadd

add files to the cvs

cvsannotate

show last revision where each line was modified

cvscheckout

checkout a module from cvs

cvscommit

commit and unlock files from the cvs

cvsdiff

show the diff between two revisions

cvsedit

lock files from the cvs

cvseditors

show all editors

cvshistory

shows a history of cvs

cvslog

show log messages from cvs

cvsremove

remove files from the cvs

cvsshowold

show from a given file an older version

cvsstatus

show the status of a file

cvstag

sets a tag

cvsundo

undo the changes

cvsupdate

update files from the cvs

cvsversion

Creates a list of all found files in the cvs with






Copyright 2003 by Patrick Meier
Last updated on 08.09.2003 by Patrick Meier