Hi All,
This is probably the easiest question every. But here goes...
If the I have a directory the contains .c .o and binaries how do I filter out the .c .o files so that I can see only the binaries (they have on extension)
I can do:
To see just the .c files and the same to get just the .o files or even .? to get both the .c and .o
I also need to copy just the binaries to a different directory. How can I do this using the cp command?
The DOS commands would be:
Code:
dir *.exe
copy *.exe c:\temp
Thank you,
Pete