Question & Answer: Unix questions…..

Unix questions

1. Cp a.txt ../b.txt
What happens to disk data of a. Text? (original deleted identical generated, no change identical generated, no change no new data, none of the above)

2. Using mv? What happens to disk data of a. Text? (original deleted identical generated, no change identical generated, no change no new data, none of the above)

3. Using ln? What happens to disk data of a. Text? (original deleted identical generated, no change identical generated, no change no new data, none of the above)

Expert Answer

 

1. cp a.txt ../b.txt

original no change. Identical generated.Data is just copied to b.txt

2. mv a.txt ../b.txt

original deleted, identical generated.Data is moved from a.txt to b.txt

3.ln a.txt ../b.txt
no change no new data. only a symbolink link is created

Still stressed from student homework?
Get quality assistance from academic writers!