If the file1.txt file already exists in your home directory, what will the touch -7file1.txt command do if anything?


If the file1.txt file already exists in your home directory, what will the touch -7file1.txt command do if anything?
A . This command displays a message that file1.txt is a normal file.
B . This changes the access and modification times of the existing file1.txt file.
C . This will delete the existing file1.txt file and create a new zero byte file using the same name.
D . This generates an error since file1.txt already exists.
E . This causes any additional data to be appended to the existing file1.txt file.
F . This command displays a message that file1.txt is a normal file and displays the size of the file.

Answer: C

Leave a Reply

Your email address will not be published.