Forrest logo
back to the cp tool

cp:ai:f9373

Copy a file into a directory and switch to this directory
$ cp ${source_file} ${destination_directory} && cd ${destination_directory}
try on your machine

Copy a file into a directory and switch to this directory

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Copy file into directory and switch to this dir?
back to the cp tool