okay this is what i want to do-
i have a folder with c1 hrough c30
i want to do this:
ls c* > cfiles
this creates a file called cfiles with the names of anything with a c* dumped in it.
but the file includes all the output and some uncessary information such as file size and permissions...and each file name isn't on one line
is there any way that i can get it to dump one file name per line and nothing else without having to do this manually? this is on an SGI running IRIX 6.5 - so actually using a unix variant but i'm sure the shell isl argely the same
i have a folder with c1 hrough c30
i want to do this:
ls c* > cfiles
this creates a file called cfiles with the names of anything with a c* dumped in it.
but the file includes all the output and some uncessary information such as file size and permissions...and each file name isn't on one line
is there any way that i can get it to dump one file name per line and nothing else without having to do this manually? this is on an SGI running IRIX 6.5 - so actually using a unix variant but i'm sure the shell isl argely the same