answersLogoWhite

0


Best Answer

Type at a terminal prompt: touch filename
Type ls
The new file, filename, will appear in the list of directories.

Typing touch -i (as in your question) will fail with the error message touch: invalid option

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you create a file named -i in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the Linux command to create a file named security?

As files can be of any number of types, there is no single command that will do this. You would use the program associated with that file type to create a file. If you wanted to create a "blank" file, that has no content and uses no space, use the command touch filename.


How do you create a file in Linux with write-only permissions?

Create a file and set it's permissions to 222


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?

touch newfile will make a new empty file in linux os !


Which of the following utilities would you use to create a file system in Linux?

For linux file system creation there are many utilities.Example commands and utilities to create partitions:fdiskcfdiskcgdiskpartedGPartedFile system types:NTFSextext2ext3ext4swapfatbtrfs...All basically does the same with slight added or reduced functionality


When you create a device special file in what folder should it be stored in Linux?

Usually they are stored in /dev


What is named.conf in CentOS?

This file is a dns configuration file for Linux CentOS


How do you create archive file in UNIX or Linux Operating System?

For TAR archives, you use tar -cvf .


What is the oldest Linux file system?

The first file system Linux supported was the MINIX file system.


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

#Touch newfile Will make an empty newfile


What is file manager in Linux?

There is no set file manager in linux. Examples of Linux file managers include but: Nautilus (GNOME) Thunar (XFCE) Dolphin (KDE)


Is there a software named Graphics in Linux?

No. There is no program named "Graphics" for Linux.


What is the last file found in Linux?

There is no "last file" to Linux, as 1.) there is no specification as to what files need to be present in a Linux system, other than the kernel, 2.) you would have to define whether "last" meant the last file placed on the disk, or the last file in alphabetical order, and 3.) the system may use an initial ram disk, which has additional files in a compressed form, and will create device nodes upon boot.