What does touch command do in unix?



What does touch command do in unix?..

Answer / Ranjeet Ranjan Bharti

The 'touch' command in Unix creates an empty file or updates the modification time of an existing file. For example: `touch myfile.txt`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What is the difference between pipe (|) and tee command in unix

14 Answers   Cap Gemini, TCS,


what is the command to list files in a directory in UNIX?

8 Answers  


boot process?

2 Answers   Atos Origin, Wipro,


what does the 'tee' command do?

4 Answers  


What command will change your prompt to myprompt?

1 Answers  


What is sed awk grep?

1 Answers  


Through which command will redirect output to bOth screen and files at the same time?

3 Answers  


What is clustering in HP and how it's work?

1 Answers   HP,


What is updatedb?

1 Answers  


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1 Answers  


What does grep v do?

1 Answers  


How to rename files and folders?

7 Answers   IBM, Oracle,


Categories