answersLogoWhite

0

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

12y ago

What else can I help you with?

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 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)


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

#Touch newfile Will make an empty newfile


Is there a software named Graphics in Linux?

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


How do you make header file in Linux?

To create a header file in Linux, you can use any text editor, such as nano, vim, or gedit. Simply open the editor and create a new file with a .h extension, for example, myheader.h. Inside the file, you can define function prototypes, macros, and include guards to prevent multiple inclusions. Save the file, and it will be ready for inclusion in your C or C++ source files using the #include directive.