MacShell is a Unix-like command line interface for the Macintosh. It performs a limited impersonation of the Unix C shell, and contains abbreviated versions of a set of Unix-style file management, file finding, and content searching utilities. It also has a no-frills <32k text editor built-in.
MacShell is free, courtesy of Fred Videon. It may not be sold in any form.
This version performs approximations of the Unix utilities in the list that follows.
Note: to get more help with any command, type (in the Interactive window):
man command
command description
------- -----------
man get help
cd change directory
pwd print working directory
ls show the contents of a directory
cat concatenate
head copy the beginning of the input to the output
tail copy the end of the input to the output
cp copy
mv move
rm remove
mkdir make directory
grep content search
egrep content search using regular expressions
find find a file
more view a file
exit quit MacShell
source execute a file as a script
set set a shell variable
unset unset a shell variable
echo copy arguments to output
Additionally, MacShell includes a few special non Unix-like functions:
mem show heap statistics
free show free heap space
compact compact heap and report largest contiguous block
seg filter to segment long lines into shorter lines
xn filter out null characters from a stream
chtype change a Macintosh file type signature
chcreator change a Macintosh file creator signature
bintohex convert input to hexidecimal notation
For more information about the shell portion of the program type (in the Interactive window):