answersLogoWhite

0


Best Answer

touch newfile

will make a new empty file in linux os !

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which command is used to create an empty file with file size zero bytes so that you can write in these files later in unix and Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What command would you use to create an empty text file in Linux?

#Touch newfile Will make an empty newfile


How do you create a local mount point in Linux?

All you need is to create an empty directory. That is your local mount point.


What is a file command used to create or start a new file?

The 'touch' command creates a new empty file in Unix.


Linux command to create myfiletxt in the DATA folder?

You want to do that from command line? Create folder DATA with mkdir DATA. (You should have permissions to create it) If you want to create an empty file, just say touch DATA/myfile.txt Or you can use the vi editor to write to the file (vi will open the file if it exists else will create that file for you), just type vi DATA/myfile.txt You may need to learn some vi keys before you try that. On Linux, try vimtutor! And just in case you think it is boring to type DATA/something... do CD DATA after creating the directory (folder) . Enjoy :)


What is the size of an empty class?

1 byte. An empty class cannot be zero bytes otherwise it would be impossible to create an array of empty class objects, thus a dummy member is used to give it the minimum addressable size.


Which task can you perform with the dd command?

There are lots of tasks you can perform with the dd command. The most common would be to create an image file from a disk or partition. Another use would be to create an empty file of an arbitrary size.


What command is used to create a suddirectory and change the current directory and to remove a subdirectory?

If for example we wanted to make i subdirictory called foo in Linux or UNIX it you use mkdir foo to change into it you would use CD foo to remove the directory rmdir foo but this will only work if the directory is empty to remove the directory called foo when it is not empty use rm -rf foo but please be sure this is what you really want to do.


Which command is used to delete the directory that is empty?

erase


How do you detect an empty file in a c program?

Seek to the end of the file (fseek) and check how many bytes are in the file If the byte count is zero the file is empty.


Do empty DVD showing filled with 0 bytes can be useful for burning videos?

I think they cannot be burned.


How do you empty start up disk on mac?

command + R


How much memory does an empty folder take up?

HDD or RAM? I know HDD is nothing (0 bytes).