.CD "sh \(en shell" .SX "sh\fR [\fIfile\fR]" .FL "\fR(none)" .EY "sh < script" "Run a shell script" .PP .I Sh is the shell. It permits redirection of input and output, pipes, magic characters, background processes, shell scripts and most of the other features of the V7 (Bourne) shell. A few of the more common commands are listed below: .nf .ta 2i 2.5i 3i .HS .in +0.25i date # Regular command sort file2 # Redirect \fIstdin\fR and \fIstdout\fR cc file.c 2>error # Redirect \fIstderr\fR a.out >f 2>&1 # Combine standard output and standard error sort >file2 # Append output to \fIfile2\fR sort file2 & # Background job (ls \(enl; a.out) & # Run two background commands sequentially sort