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

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.