Asked in
Linux

How do you create a file using terminal in Linux?

Answer

User Avatar
Wiki User
July 15, 2009 7:39PM

That would depend entirely on what type of file you are trying to create. echo text > file.txt would create a text file with the text "text". Other types of files, such as database dumps, program binaries, and even video can be created with various programs.