How do you overwrite a file in Unix?

How do you overwrite a file in Unix?
Answer
To overwrite one file’s content to another file. use cat eg. If you have output that can have errors, you may want to use an ampersand and a greater than, as follows: my_task &> ‘Users/Name/Desktop/task_output.
 

Tìm kiếm

Back
Top