fesh

Fat embedded shell (QNX Neutrino)

Syntax:

fesh [-c command] [-irv] [script_file]

Runs on:

Neutrino

Options:

-c command
Run this command.
-i
Enter interactive mode after running a script file. If you don't specify this option, fesh terminates after running a script.
-r
Run in restricted mode. In this mode, you can't perform certain operations. If you try to, you'll see the error message, “Operation not permitted.”

Restricted operations include running executables that start with a slash, exporting variables, and reattaching standard input, output and error to another device. For more information, see Command-line format and Builtin commands in the description of esh.

-v
Be verbose: echo each command before executing it.
script_file
A file containing shell commands to execute.

Description:

The fesh utility is a “fat” version of the small embedded shell, esh. The fesh shell supports all of the esh builtin commands, as well as the following extra builtin commands:


Note: If fesh doesn't recognize the arguments to a builtin command, it searches for an executable file.

ecp command

ecp [-v] source destination

Copy source to destination, like the cp command. The -v option gives verbose output.

edf command

edf [path]

Report the free disk space for the filesystem associated with path. If you don't specify a path, fesh uses the current directory.

eecho command

eecho arguments

Write arguments to standard output, like echo. No options are defined.

els command

els [-l] [path]

List the contents of a directory, like ls. The els command supports only the -l option, and displays the permissions in octal.

emkdir command

emkdir dir

Create a directory, like mkdir. No options are defined.

epwd command

epwd

Print the name of the current working directory, like the pwd executable.

erm command

erm file...

Remove the specified file or files. No options are supported.


Note: The erm builtin command behaves like rm -f.

ermdir command

ermdir dir...

Similar to rmdir but doesn't support any options.

See also:

esh, ksh, rsh, sh, uesh

Using the Command Line and Writing Shell Scripts in the Neutrino User's Guide