answersLogoWhite

0

Use the 'touch' command. You cannot create a zero byte file with 'vi'.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What program should I use to display files in byte form I need to modify a file that isn't encoded in any universal way?

You can use a hex editor.


What is filing of records?

Structured files contain records, unstructured files are byte-streams. (Modern OS's (Windows, UNIX) have only unstructured files.)


What is Android-dx?

A tool to generate Android byte code from .class files.


What is the extension of a java byte code file?

.class is the extension of a java byte code file.


Is removing duplicate file on computers dangerous?

It's only dangerous if you delete duplicate files without thinking and don't use a good software for finding duplicates. For example, some duplicate finders compare files by name only and thus delete files that are not actually duplicates. If you want to stay completely safe, get an advanced program like Easy Duplicate Finder (or a similar program with similar features) and select "Compare files by content" in the settings (or "byte-by-byte comparison" depending on the program). That way the duplicate finder will only show you exact duplicates.


What command is used to compare the files?

The command used to compare files in Unix-like operating systems is diff. This command analyzes two files line by line and displays the differences between them. For example, running diff file1.txt file2.txt will show any lines that differ between the two files. Additionally, the cmp command can be used for a byte-by-byte comparison, while comm can be used to compare sorted files.


What is contain inside the jar file?

.jar files contain byte-code compiled to run on the Java Virtual Machine.


How do you fill in a form using one byte alphanumeric characters?

Usually, this involves using your keyboard.


Can you assign a char value to a variable of datatype of byte in java?

Not without casting. A char is a 16 bit type, whereas a byte is an 8 bit type. Therefore the compiler cannot guarantee that the 16 bit value will fit into the 8 bit value without overflowing. If you attempt to stick a char into a byte, you will get a compiler error. To override this, you can cast the char value to a byte during assignment. However, you might get some unexpected results. A few examples below: char a = 'A'; byte b = a; //compiler error char a = 'A'; byte b = (byte)a; //valid, no error. b=65 char a = 172; byte b = (byte)a; //valid, no error, but b=-84 because of overflow.


What is the advantage of using sjmp over ljmp?

SJMP is short jump. In this 2-byte instruction the first byte is opcode and second byte is relative address of target location. This can save some byte of memory in many applications where memory space is in short supply where as LJMP (Long Jump) is 3-byte instruction in which 1st byte is opcode and 2nd and 3rd byte represent the 16- bit address of target location.


How much is 1TB in MB?

The Terabyte is 1024 gigabyte and the gigabyte is 1024 megabytes, therefore a Terabyte is 1024 squared megabytes, this gives 1048576 megabytes in a single terabyte. This is not to be confused with terabit (1000000megabits)


What is the largest posistive number that can be represented using 1 byte?

If the byte represents a signed number, values commonly go from minus 128 to plus 127. If the byte represents an unsigned number, values commonly go from 0 to 255.