Differences between revisions 10 and 11
Revision 10 as of 2017-10-20 02:38:41
Size: 1356
Comment:
Revision 11 as of 2017-10-20 02:45:23
Size: 1382
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
===== Command Line =====

Invocation Modes


Mode

Bash

POSIX Shell

LoginShell

-bash [options]

-sh

bash -l [options]

sh -l

bash --login [options]

sh --login

CommandString

bash -c 'command' [options]

sh [options] -c 'command'

Interactive Shell

bash -i

sh -i

Shell Script

#!/bin/bash [option]

#!/bin/sh [option]

Command File

bash [options] file [args]

sh [options] file [args]

Command Stream

bash [options] -s [SHELL [ARGS]]

sh [options] -s [SHELL [ARGS]]


Login Shell

Command String

Interactive Shell

Command Line

Prompting

Completion

History

Job Control

Shell Script

Command File

Command Stream

Restricted Shell


bash/invocation/mode (last edited 2017-10-20 16:46:01 by Robert Robertson)