Create file using command in DOS or Linux (default command)
개요 노트패드나 VI에디터같은 툴이 없을때 기본명령만으로 파일을 에디트 해야할때가 있다. 이런때 사용할 수 있는 명령어다. Sometimes, You have to edit files without use GUI or tools like notepad or VI editors in a restricted environment. I'll show you how to create a file just using the default command in Linux or DOS systems. Contents DOS Command (Copy con filename) c:\>copy con filename.txt (enter) desc~~~~~~ textdesc~~~ Ctrl+Z Linux Command (Cat >filename) #cat >filename (enter) desc~~~~~~ textdesc~~~ Ctrl+D 참조 내용 : http://andrewault.blogspot.com/2008/03/unix-equivalent-of-dos-copy-con.html