Use the following command to move the file phone.doc to the file call.doc without prompting for confirmation even if call.doc already exists:
tnmv -f phone.doc call.doc |
Use the following command to move the file intro.ppt to the file preface.ppt and prompt for confirmation before overwriting:
tnmv -i intro.ppt preface.ppt |
Use the following command to move the file sample.html to the file main.html:
tnmv sample.html main.html |
Use the following command to move the files project1.ps and project2.ps to the directory projects97:
tnmv project1.ps project2.ps projects97 |
Use the following command to move the directory documents to the directory worddocs:
tnmv documents worddocs |