ArchLUG Linux By Example - www.archlug.org

Download the RSS XML Feed for this site

Subscribe to this channel with Amphetadesk

Subscribe to this channel with RadioUserland

tr


Basic tr

To turn all 'a's into 'b's:

tr a b < filename

To examine $PATH environment variable:

echo $PATH | tr : \\n

To add all *.jar files in a directory to the $CLASSPATH:

export CLASSPATH=$CLASSPATH:`echo /opt/jboss-3.2.3/client/*.jar | tr ' ' :`

Valid XHTML 1.0! Valid CSS!