-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 HI all,,,, Don't forget the "script" command either. At the command line type in script. You will get a propt and then run whatever programs you want. When done type "exit" . You will find everything that was on the screen in a file called typescript.txt (I think that's the name). Then edit the file to do whatever you want. Hope this helps,, JIM On Friday 27 June 2003 20:14, Jeroen wrote:
Op vrijdag 27 juni 2003 21:27, schreef dennis tuchler:
How does one make a taxt file from the command line (like the DOS "copy con" command)? I looked for this information in various Linux books and found nothing.
There is always more than one option.
touch filename.txt ; will create a empty file vi filename.txt ; will open a new text file in the advanced text editor vi (try 'man vi' for commands). cat>filename.txt ; will make simple text file (as described byothers already) or try (if installed): joe filename.txt ; this will give you another simple editor (press ctrl+k+x to save and exit). or try (even better): pico filename.txt
enough choice
Jim Hatridge Linux User #88484 - -- Our country was colonized by the religious, political, economic, and criminal rejects of every country in the world. We have been carefully breeding insane, obsessive, fanatic lunatics with each other for over 400 years, resulting in the glorious strain of humanity known as "Americans". You have to expect some... peculiarities. Check out my stamp collection: Vielfeind -- Viel Ehr' Antiamerikanische Propaganda in der Philatelie des 20. Jahrhunderts http:/www.fecundswamp.net/~hatridge/stamps/index.html Read about new German stamps each quarter: http:/www.fecundswamp.net/~hatridge/bulletin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+/Vq3v3Z9K7QSWt4RAptdAJwP19Iso2Ha+jhTp8YnR+FY8czugACgsmzP iULY9/e6DFvGXADfTj9bJXY= =y70r -----END PGP SIGNATURE-----