Using the 'ls' command in unix

Using the 'ls' command in unix

>Sir,
>	I tried to use the "ls" command to find the list of all of my
files,
>but MM> did not recognize the command. What do I do?
>						Thank you for your help.
>	
'ls' is a unix command, not an MM command. You have to issue the command at the <pegasus> prompt. Or if you want to be sneaky (as every magician should be), at any MM prompt, enter any unix command preceded by an explanation mark. For example, when you see R> below, type

!ls
The command will work just as if you are at and will return you to > This is called a 'shell,' by which you momentarily keep MM in a shell and move out to the main system to enter a command.

Alternatively, while writing a message to someone, you may enter CTRL/P and when prompted for the name of the program to run, you may specify just

ls
or any other command. That will cause the output of the command to go into the message that you are writing rather than to the screen. To illustrate, I am about to enter CTRL-P and then specify 'ls -l *.16'. When I do, it will show all the files I have saved with '.16' as the last part of their name, i.e., all the files in which I have stored mail to and from students in my 101-16. The '-l' forces the long version of the directory. Here goes: here's the output of that command.........
-rw-------   1 lcrew    fasn          510 Sep 15 17:52 C/acanales.16
-rw-------   1 lcrew    fasn          950 Sep 21 19:46 C/ava.16
-rw-------   1 lcrew    fasn         5013 Sep 29 13:47 C/cardawg.16
-rw-------   1 lcrew    fasn         4283 Sep 29 13:34 C/dinot.16
-rw-------   1 lcrew    fasn         6085 Oct  4 14:55 C/dixies.16
-rw-------   1 lcrew    fasn         2606 Sep 13 22:04 C/djbones.16
-rw-------   1 lcrew    fasn         2765 Sep 29 14:17 C/dowop.16
-rw-------   1 lcrew    fasn         4346 Sep 27 22:37 C/fiore56t.16
-rw-------   1 lcrew    fasn         2541 Sep 15 15:45 C/goofy1.16
-rw-------   1 lcrew    fasn         6969 Sep 19 20:07 C/ironman.16
-rw-------   1 lcrew    fasn         2420 Sep 22 09:44 C/kage.16
-rw-------   1 lcrew    fasn        15132 Sep 26 21:16 C/khadija1.16
-rw-------   1 lcrew    fasn         7509 Sep 27 22:16 C/megaman.16
-rw-------   1 lcrew    fasn          722 Sep 25 19:33 C/mitu.16
-rw-------   1 lcrew    fasn         3943 Sep 29 14:05 C/puchi.16
-rw-------   1 lcrew    fasn         3746 Sep 29 14:09 C/quintalc.16
-rw-------   1 lcrew    fasn         4252 Sep 21 19:56 C/shashoo.16
-rw-------   1 lcrew    fasn         1831 Sep 19 20:21 C/sniggle.16
-rw-------   1 lcrew    fasn         4827 Oct  4 13:49 C/sunset.16
-rw-------   1 lcrew    fasn         1467 Sep 12 19:08 C/visa.16
-rw-------   1 lcrew    fasn         7168 Oct  4 14:55 C/zavatsky.16

On the screen I now see just '[Done]'. I have to hit CTRL-L to clear the screen and actually see the full results of my entering that command.

Ah, yes, now I see what you will see.

Enjoy cyberspace.

LC