Exam 050-754 Topic 4 Question 36 Discussion
Actual exam question for SUSE's 050-754 exam
Question #: 36
Topic #: 4
Question #: 36
Topic #: 4
If the file1.txt file already exists in your home directory, what will the touch -7file1.txt command do if anything?
Suggested Answer: B Vote an answer
Explanation
If the file1.txt file already exists in your home directory, the touch -7file1.txt command will change the access and modification times of the existing file1.txt file. The touch command can be used to create new empty files or update the timestamps of existing files. The -7 option specifies that only one timestamp should be changed instead of both. References:https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-cli-touch.html
If the file1.txt file already exists in your home directory, the touch -7file1.txt command will change the access and modification times of the existing file1.txt file. The touch command can be used to create new empty files or update the timestamps of existing files. The -7 option specifies that only one timestamp should be changed instead of both. References:https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-cli-touch.html
by Jeff at Mar 18, 2025, 01:37 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).