cp


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cp
# 1  
Old 03-05-2007
cp command

Hello,
I am just a new born baby to UNIX...and I need some help to copy a particular man command. Can anybody help me here please.

I want to copy man ls to a file called ls-man

I have tried
Code:
cp man ls > ls-man

but no success.

Last edited by Aristo; 03-05-2007 at 12:44 PM..
# 2  
Old 03-05-2007
man ls > ls-man
# 3  
Old 03-05-2007
Quote:
Originally Posted by Anotheralan
man ls > ls-man
That may leave formatting characters in that you may prefer to not have. If so try:
man ls | col -b > ls-man
 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question