# Another Restricted SHell (arsh)
# config for arsh.
# must be in /etc/arshrc

# comment it out, if arsh shall chroot
# after invocation. chroot needs to
# be suid'ed to root! be carefull!
#root = /usr/sbin/chroot

# the following chars are not allowed:
illegal_chars =  |`%.

# manipulate the prompt. 
# If empty or not defined, a simple $ will be used!
# You can use the following variables:
# $time:	current time HH:MM:SS
# $user:	current user
# $host:	current host
# $dir:		current working directory
# $cdir:	current working directory, blue colored.
# \n is a newline.
prompt = $time --- $cdir ---\n$user@$host $ 

# please keep this!
___CMD___
# allowed commands. format:
# command (optional parameters)(default parameters) /path/to/binary (description)
#
# commands called "internal" are provided by arsh itself, in most
# cases you can leave them.
# specials:
# * between opt. params => all chars are allowed.
#
# - needs to be the first char, if you want to allow it
#
# a whitespace is allowed at any time
#
# if the last char of a command is a !, then no
# params are allowed (i.e.: "ls -l": ok. "ls -l file": not ok)
#
# if the second, "default parameters" is pecified, arsh
# will call that command everytime with that option.

pwd ()() internal (display the current working directory as set by the cd command.)
exit ()() internal (close/disconnect the current session.)
logout ()() internal (does the same as exit.)
echo (*)() internal (print something to STDOUT)
help ()() internal (shows this help text.)
cat (*)() internal (concatenates a file to STDOUT.)
cd ()() /bin/cd (change directory.)
less ()() /usr/bin/less (view a file.)
grep (*)() /bin/grep (search trough a file for a given pattern.)
chmod (*)() /bin/chmod (change the permissions of a given file.)
tar (*)() /bin/tar (archive program.)
ps (-ulcwx)() /bin/ps! (shows list of current processes.)
man (*)() /usr/bin/man (displays manual-pages.)
du (*)() /usr/bin/du (shows current disk usage.)
ls (-lahep)(--color) /bin/ls (list content of a directory.)
touch (-help)() /bin/touch (create a new file.)
vi ()() /bin/vi.redhat (edit a file.)
rm (-rhelp)(-i) /bin/rm (remove a file or directory.)
clear ()() /usr/bin/clear (clear the current screen.)
pine ()() /usr/bin/pine (a console gui mail program.)
mkdir ()() /bin/mkdir (create a new directory.)
md ()() /bin/mkdir (does the same as mkdir.)
