Cutting and moving files using the Linux terminal

2

What is the command I can use to cut and then move a file from one location to another from a Linux terminal?

Is there any website that lists all the commands for a Linux terminal?

rajanbir

Posted 2012-01-26T16:22:35.037

Reputation: 21

This site lists many common commands for BASH, the most common Linux shell. – Andrew Lambert – 2012-01-26T18:28:16.433

Answers

4

The command you need is mv (move):

mv /path/from /path/to

Have a look here for a basic list of commands. Of course the possibilities are almost infinite, depending on what is installed on the machine you use.

Karolos

Posted 2012-01-26T16:22:35.037

Reputation: 2 304

0

You need mv:

mv /file/path/from /file/path/to

There are no "linux terminal's commands", it all depends on what shell you are using. Also mv is a program and not a shell command.

A good reference might be info coreutils.

cYrus

Posted 2012-01-26T16:22:35.037

Reputation: 18 102

need to enter from and to ? – rajanbir – 2012-01-26T16:32:59.480

No, /file/path/from and /file/path/to are just path examples. See man mv for more information on that command. – cYrus – 2012-01-26T16:35:50.570