Hello.
How can i create a new file in my linux localhost?

Recommended Answers

touch foo creates file foo, if that's what you mean, but I probably missed something in your question. (?)

Jump to Post

All 3 Replies

touch foo creates file foo, if that's what you mean, but I probably missed something in your question. (?)

In terminal you can use touch which will create empty file in the directory. It also depends where your root directory is. Normally, in XAMPP it would be touch /opt/lampp/htdocs/newfile.

Yes Thanks friends.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.