Hi I'm learning how to use terminal and I've created and image folder through terminal and now I'm wondering how I add an image that I already have saved on my computer by using terminal. I'm wondering if I can add an image to the folder without having to go through finder...

  • 2
    What is your Ubuntu version?
    – pomsky
    Jan 31, 2020 at 21:33
  • 2
    use the move (mv) or copy (cp) command: cp [sourcePath]/[fileName] [targetPath] Jan 31, 2020 at 21:33

1 Answer 1


http://manpages.ubuntu.com/manpages/bionic/man1/cp.1.html explains the cp command and http://manpages.ubuntu.com/manpages/bionic/man1/mv.1.html illustrates the mv command. Both work within the terminal.

Let's take an example, copying a file from a folder named /images to a folder named /home/you/Pictures where the image file is named koala.jpg and your username in Ubuntu is you .

cp /images/koala.jpg /home/you/Pictures

Please note that Linux, and Ubuntu, are case sensitive when it comes to file and directory names: Pictures and pictures are two different directories.

Also, if you are accustomed to Windows, please note where Windows would use a backstroke \ in a directory path, Linux uses /

Not the answer you're looking for? Browse other questions tagged or ask your own question.