enscript
[top][prev][next]
# Enscript used to create html pages (like this one:)
enscript -E --color -Whtml -t<pagetitle> -p<name.html> <source-file source-file2 source-file3 OR glob>
enscript_setup
[top][prev][next]
To contol output format (and various other options on enscript)
edit: "/usr/share/enscript/enscript.st"
flac
[top][prev][next]
# usinf flac to create a flac audio file from a typical raw audio file
flac --best --endian=little --sign=signed --channels=2 --bps=16 --sample-rate=44100 -o <outfile.flac> <infile.raw>
frame-buffer
[top][prev][next]
# Using Matrox matroxset to set up Frame Buffer support (experimental)
# matroxset -f /dev/fb0 -m 5
This turns secondary output off
# matroxset -f /dev/fb1 -m 2
Connect secondary output to /dev/fb1
# matroxset -f /dev/fb1 -o 1 2
Set output 1 (secondary output) to NTSC.
psql
[top][prev][next]
# connect to a Postgresql Database
psql -h <host> <dbname> <user_id>
route-default_gateway
[top][prev][next]
#to add adefault gateway:
route add default gw <ip_address> dev eth0
rsync
[top][prev][next]
# to import a remote directory & it's contents:
# this creates the dir "<remote_directory>" inside "<local_directory>"
rsync -avz -e ssh <user>@<remote_hosts>:<remote_directory> <local_directory>
# to copy only the contents, and not the directory itself, into the current directory,
# use trailing slash on the source directory:
rsync -avz -e ssh <user>@<remote_hosts>:<remote_directory>/ <local_directory>
tripwire
[top][prev][next]
# update the tripwire database to match current report, accepting all changes.
tripwire -m u -a -r <current_report.twr>
Generated by GNU enscript 1.6.1.