Feb 4, 2004 #2 aigles Technical User Joined Sep 20, 2001 Messages 464 Location FR You have the choice, depending of what you need ... To create an empty file : touch file File with datas : echo "First line" > file echo "Second line" >> file Copying file to another : cp source_file file Create file with editor : vi file and much of other possibilities . . . Jean Pierre. Upvote 0 Downvote
You have the choice, depending of what you need ... To create an empty file : touch file File with datas : echo "First line" > file echo "Second line" >> file Copying file to another : cp source_file file Create file with editor : vi file and much of other possibilities . . . Jean Pierre.
Feb 4, 2004 #3 vgersh99 Programmer Joined Jul 27, 2000 Messages 2,146 Location US .... two which are: > file or cat /dev/null > file vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+ Upvote 0 Downvote
.... two which are: > file or cat /dev/null > file vlad +----------------------------+ | #include<disclaimer.h> | +----------------------------+