12.8k views
0 votes
Which command would rename the file cows.txt to cheezburger.txt? Select one: a. mv cows.txt cheezburger.txt b. I can haz cheezburger! c. rename cows.txt d. rn cows.txt cheezburger.txt e. rm cows.txt

1 Answer

7 votes

Answer:

Option A i.e., mv cows.txt cheezburger.txt is the correct option.

Step-by-step explanation:

In Linux, mv means move that is used to move a file from one destination to other but the user also used the mv command for renaming the file because it is the easiest way to rename any file to others.

Syntax:

mv first_file.ext new_file.ext

In the above syntax, mv is the command and first_file is the name of that file whose name wants to be change and .ext is the file extension, new_file.ext is that file that name wants to be applied on first one.

User JD Isaacks
by
7.6k points