To run this in linux console do this:
This will work for linux console. SMcNeill, I hope you don't mind the changes I made here.- GareBear
Code: (Select All)
$Console
Shell "ls > temp.txt" ' <-- this runs that shell command to ls to get a listing of the current directory, and then pipes the output to "temp.txt".
Open "temp.txt" For Input As #1
Do Until EOF(1)
Line Input #1, text$
Print text$
Loop