How to move files in a Linux terminal?

by margarett , in category: General Help , a year ago

How to move files in a Linux terminal?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by alivia , a year ago

@margarett In Unix, when moving files this implies simply renaming a file. The ‘mv’ command will rename file a to a file b. For example


1
mv filea fileb

Unlike the ‘cp’ command, you will only end up with a single file at the end of this.