How do you create a text file in linux terminal?



How do you create a text file in linux terminal?..

Answer / Devendra Dangwal

To create a new text file in the Linux terminal, use the command: touch <filename>. If the file already exists, this command will update its timestamp.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

Enlist some linux to file content commands?

1 Answers  


What happens to hard link when file is deleted?

1 Answers  


can anyone proide me reading material on svit00ef27@yahoo.com please thanx in advance

1 Answers  


Brief about the command kill PID?

1 Answers  


How do I run a shell script?

1 Answers  


You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

1 Answers  


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

1 Answers  


how do u find remote machine operating system and version?

10 Answers   Wipro,


What is the purpose of the 'ps' command?

1 Answers  


What does mkdir mean in linux?

1 Answers  


A file which is not deleted by normal user and also root (using rm), for that type of file how we delete it?

5 Answers   CTS,


How lilo is useful in linux?

1 Answers  


Categories