Debianhelp.co.uk


Debian Utilities

pal

pal - Command-line calendar program that can keep track of events

pal is a cal-like calendar with day highlight and support for events.

Some of pal's main features are: Assign different colors to different types of events; Search events with regular expressions; Includes calendars for holiday (US, Christian, etc) and historical events; One-time events and a variety of recurring events are supported; Easy-to-use interface for interactively adding events to calendars; Automated deletion of old events; Generation of HTML calendars; Generation of LaTeX calendar suitable for printing.

Install pal in Debian

#apt-get install pal

For more options and how to use check pal man page

pconf-detect

pconf-detect - Small printer auto-detect command-line tool

pconf-detect is a simple command-line utility for detecting parallel, USB and network-connected printers.

Install pconf-detect in Debian

#apt-get install pconf-detect

perforate

perforate - Utilities to save disk space

GNU cp used to detect files that contain 0-filled holes and save disk space by skipping them with lseek when writing a file and thus not allocating disk blocks. Unfortunately it does no longer. So here is program to make holes in existing files.

Also there are some scripts that help cleaning up the hard disk (finding duplicated and/or unstripped files).

Install perforate in Debian

#apt-get install perforate

ppdfilt

ppdfilt - filter that inserts printer specific commands into print jobs

ppdfilt is a filter program designed to be used within a filter script or from the command line tool to insert printer specific commands to a PostScript print job. This can be used to tell the printer to duplex or staple the print job, or tell it what paper tray to draw paper from. In the GNULpr printing environment, users do not call ppdfilt directly, but its features are accessed by using 'lpr' or 'gpr' (see)

Install ppdfilt in Debian

#apt-get install ppdfilt

For more options and how to use check ppdfilt man page

ppmd

ppmd - fast archiver program with good compression ratio

PPMd predicts the probability of a given character based on the characters that immediately precede it (as all PPM compressors, see also Markov Chains and Context Modeling). This archiver should be better than zip, gzip, bzip2, zzip, szip and PPMZ(2) at compressing files.

Install ppmd in Debian

#apt-get install ppmd

For more options and how to use check ppmd man page

printconf

printconf - automatically configures USB and parallel printers with CUPS

Foomatic is a printing system designed to make it easier to set up common printers for use with Debian (and other operating systems). It provides the "glue" between a print spooler (like CUPS) and your actual printer, by telling your computer how to process files sent to the printer.

This package detects printers attached to the parallel or USB ports of your computer, and automatically establishes printer queues using Foomatic for those printers. These queues can be managed using the CUPS web interface at http://localhost:631/ or by using the Foomatic-GUI tool.

Some low-end inkjet and laser printers that use proprietary languages (sometimes erroneously called "WinPrinters" or "GDI printers") will require either the foo2zjs or pnm2ppa package to work.

Install printconf in Debian

#apt-get install printconf

For more options and how to use check ppmd man page printconf man page

pup

pup - Printer Utility Program

This is a GUI utility for maintaining your printer under Linux. For uni-directional mode it supports the Lexmark Optra Color 40 and 45, Lexmark Optra E310, HP 2100M, HP 4000, and HP LJ4 Plus. For bi-directional mode it supports any PJL printer (or partially, depending on the printer).

Install pup in Debian

#apt-get install pup

For more options and how to use check pup man page

pydf

pydf - colourised df(1)-clone

pydf is all-singing, all-dancing, fully colourised df(1)-clone written in python.

Install pydf in Debian

#apt-get install pydf

After installing you need to run the following command to check the output

#pydf

output looks like this

# pydf
Filesystem Size Used Avail Use% [ ] Mounted on
/dev/hda2 2937M 869M 1918M 31.0 [## ] /
tmpfs 30M 0 30M 0.0 [ ] /dev/shm
/dev/hda1 88M 14M 69M 18.0 [# ] /boot

For more options and how to use check pydf man page

ras

ras - Adds redundancy files to archives for data recovery.

Ras is a program that adds m extra files to a set of n files, such that the contents of the n original files can be regenerated from any n of the n+m original files and extra files. Normally, these extra files will all be 6 bytes larger then the largest of the original files, but ras has a mode in which the extra files are exactly the same size as the original files.

Ras was originally intended for transporting a large file split over several floppy disks in a manner resilient to the corruption of a few of the disks, and a pair of example shell scripts to do this (rassplit and rasmerge) is included in the distribution.

Install ras in Debian

#apt-get install ras

For more options and how to use check ras man page

rats

rats - Rough Auditing Tool for Security

RATS, the Rough Auditing Tool for Security, is a security auditing utility for C, C++, php, perl, and python code. RATS scans source code, finding potentially dangerous function calls. The goal of rats is not to definitively find bugs (yet), but to provide a reasonable starting point for performing manual security audits.

The initial vulnerability database is taken directly from things that could be easily found when starting with the book, "Building Secure Software" by Viega and McGraw.

Install rats in Debian

#apt-get install rats

After installation you need to run the following command to check how this works

#rats

output looks like this

Entries in perl database: 33
Entries in python database: 62
Entries in c database: 336
Entries in php database: 55
Total lines analyzed: 0
Total time 0.000042 seconds
0 lines per second

For more options and how to use check rats man page

regionset

regionset - view and modify the region code of DVD drives

Regionset is a small utility which displays and sets the region/zone setting of a DVD drive, allowing it to decrypt the DVD's sold in this geographical zone. Hardware vendors often limit the number of such modifications, but it is necessary to set it at least once with a brand new drive.

Install regionset in Debian

#apt-get install regionset

For more options and how to use check regionset man page

renameutils

renameutils - Programs to make file renaming easier

The file renaming utilities (renameutils for short) are a set of programs designed to make renaming of files faster and less cumbersome.

This package consists of three programs - qmv, imv and deurlname:

qmv ("quick move") allows file names to be edited in a text editor. The names of all files in a directory are written to a text file, which is then edited by the user. The text file is read and parsed, and the changes are applied to the files.

imv ("interactive move"), is trivial but useful when you are too lazy to type (or even complete) the name of the file to rename twice. It allows a file name to be edited in the terminal using the GNU Readline library.

deurlname removes URL encoded characters (such as %20 representing space) from file names. Some programs such as w3m tend to keep those characters encoded in saved files.

Install renameutils in Debian

#apt-get install renameutils

reportbug

reportbug - reports bugs in the Debian distribution

reportbug is a tool designed to make the reporting of bugs in Debian and derived distributions relatively painless. Its features include:

* Integration with the mutt, af, and mh/nmh mail readers.
* Access to outstanding bug reports to make it easier to identify
whether problems have already been reported.
* Automatic checking for newer versions of packages.
* Optional automatic verification of integrity of packages via debsums.
* Support for following-up on outstanding reports.
* Optional PGP/GnuPG integration.
reportbug is designed to be used on systems with an installed mail transport agent, like exim or sendmail; however, you can edit the configuration file and send reports using any available mail server.

If your system's users use locales with character sets other than UTF-8 and ISO-8859-*, one of either python2.3-cjkcodecs or python2.3-iconvcodec is required for proper operation. For Asian locales, the use of python2.3-cjkcodecs is preferred over the more limited python2.3-iconvcodec.

Install reportbug in Debian

#apt-get install reportbug

For more options and how to use check reportbug man page

reprepro

reprepro - debian package repository producer

reprepro is a tool to manage a repository of Debian packages (.deb, .udeb, .dsc, ...). It stores files either beeing injected manually or downloaded from some other repository (partically) mirrored into a pool/ hierarchy. Managed packages and files are stored in a libdb3 database, so no database server is needed. Checking signatures of mirrored repositories and creating signatures of the generated Package indices is supported.

WARNING: Reprepro does not have much users yet, so not all code paths are severly tested. Please report any bugs you find.

Install reprepro in Debian

#apt-get install reprepro

restartd

restartd - Process checker and/or restarter

Restartd is a daemon for checking your running and not running processes. It reads the /proc directory in every n secs and does a POSIX regexp on the process names. You can execute a script/program if the process is not or it is running.

Install restartd in Debian

#apt-get install restartd

For more options and how to use check resrartd man page

rpl

rpl - intelligent recursive search/replace utility

rpl is a UN*X text replacement utility. It will replace strings with new strings in multiple text files. It can work recursively over directories and supports limiting the search to specific file suffixes.

Install rpl in Debian

#apt-get install rpl

For more options and how to use check rpl man page

rzip

rzip - compression program for large files

rzip is a compression program able to take advantage of long distance redundancies in files, allowing greater compression ratios. rzip has an effective history buffer of 900MB. rzip cannot read from the standard input or write to the standard output.

Install rzip in Debian

#apt-get install rzip

For more options and how to use check rzip man page