PDA

View Full Version : simple UNIX question


s_wisteria
09-14-2000, 02:55 AM
What is the command to create a new file? I know the question is rather elementary, but i am a beginner at this.

Henrik
09-14-2000, 10:16 AM
If you want to create a new textfile you would probably want to use a text-editor. Right?

Well, there are several for UNIX Vi,Ed,Pico,Emacs etc.
But if you don't want to go and buy a big usersmanual you should better stick with Pico. It is the easiest console editor to get started with. The other editors are pretty hard to use but more powerful. Emacs and Vi are probably the most popular, but don't use them if you don't know what you are doing. Most people can't even exit Vi the first time they use it :)
Just write something like:
pico newfile.txt

Pico is installed by default on most systems and it should be on yours too.

Hope that answered your question

eraser
09-16-2000, 06:40 PM
touch and filename


___________________________
Please visit WorldRule
and sign up for the board www.worldrule.com/forums (http://www.worldrule.com/forums)

[This message has been edited by eraser (edited 09-16-2000).]