faqts : Computers : Operating Systems : Linux

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 17 people (71%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

Linux: Command: File: Copy: Con: How to do an MSDOS 'copy con' in Linux?

Jun 18th, 2005 09:25
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 18 September 2003 - 19:13 pm ------------------

Linux: Command: File: Copy: Con: How to do an MSDOS 'copy con' in 
Linux?

---

To overwrite type the following command on the command line:

 cat >yourfilename

then type

 <CTRL><D>

to finish and close the file

or

 <CTRL><C>

to abandon editing

---

To append type the following command on the command line:

 cat >>yourfilename

---
---

DOS to Linux copy con
[Internet: source: http://www.linuxsa.org.au/mailing-list/1997-
12/23.html]

---

Microsoft Windows: XP: Copy con: How to use copy con to quickly create 
a file via a clipboard paste?
http://www.faqts.com/knowledge_base/view.phtml/aid/36781/fid/868

----------------------------------------------------------------------