Didnt work. My objective is to find the command that work and set it in the ROX file manager to automatically open an html file.[div align=\"right\"][a href=\"index.php?act=findpost&pid=126546\"][{POST_SNAPBACK}][/a][/div]
justreader -h
Most commands will give you some usage tips on the command line. Try:Code: [Select]justreader -hin a terminal to see if it will tell you...[div align=\"right\"][a href=\"index.php?act=findpost&pid=126604\"][{POST_SNAPBACK}][/a][/div]
#!/bin/sh# justreader.sh - enables opening a specified file from the command line# 2006-05-11 GROG! #set -x # TESTING# make sure justreader isn't already running.ps | grep -E "\b[j]ustreader\b" | grep -v $$ && exit 0if [ ! -s "$1" ]; then echo "Usage: ${0##*/} filename" >&2 exit 1fiINFILE=$1INDIR=${1%/*}CONFFILE=~/Choices/common/JustReader.confTMPFILE=${CONFFILE%/*}/$$trap "\rm -f $TMPFILE" 1 2 3 15while read LINE; do set -- $LINE case $1 in File) echo "File = $INFILE";; Folderpath) echo "Folderpath = $INDIR";; *) echo "$LINE";; esacdone < $CONFFILE > $TMPFILE\mv -f $TMPFILE $CONFFILEexec justreader