Changeset View
Changeset View
Standalone View
Standalone View
bin/sh/sh.1
Show All 26 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 | .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd July 6, 2020 | .Dd May 10, 2021 | ||||
.Dt SH 1 | .Dt SH 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm sh | .Nm sh | ||||
.Nd command interpreter (shell) | .Nd command interpreter (shell) | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl /+abCEefhIimnPpTuVvx | .Op Fl /+abCEefhIimnPpTuVvx | ||||
▲ Show 20 Lines • Show All 1,302 Lines • ▼ Show 20 Lines | |||||
.Ic fc | .Ic fc | ||||
built-in. | built-in. | ||||
If not set, the default editor is | If not set, the default editor is | ||||
.Xr ed 1 . | .Xr ed 1 . | ||||
.It Va FCEDIT | .It Va FCEDIT | ||||
The default editor used with the | The default editor used with the | ||||
.Ic fc | .Ic fc | ||||
built-in. | built-in. | ||||
.It Va HISTFILE | |||||
File used for persistent history storage. | |||||
If unset | |||||
.Pa ~/.sh_history | |||||
will be used. | |||||
If set but empty or | |||||
.Va HISTSIZE | |||||
is set to 0 | |||||
the shell will not load and save the history. | |||||
jilles: This can be written more clearly. | |||||
.It Va HISTSIZE | .It Va HISTSIZE | ||||
The number of previous commands that are accessible. | The number of previous commands that are accessible. | ||||
.It Va HOME | .It Va HOME | ||||
The user's home directory, | The user's home directory, | ||||
used in tilde expansion and as a default directory for the | used in tilde expansion and as a default directory for the | ||||
.Ic cd | .Ic cd | ||||
built-in. | built-in. | ||||
.It Va IFS | .It Va IFS | ||||
▲ Show 20 Lines • Show All 1,535 Lines • Show Last 20 Lines |
This can be written more clearly.