Terminal issue: Working through Appendix A

Hello, I am new here and trying to learn Python. I am going through Appendix A which is the prereq. to Exercise 1 in LPTHW. Im on Lesson 10 (cp) copy a file. I am having an issue with terminal, when I type in the command (cp) iamcool.txt (example): This happens:usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file … target_directory

it wont allow me to move a file and I have no idea why or how to fix this.
Hoping someone can help me with this so i can continue on .

Thank you,
Drew777

I apologize for taking up anyones time; this may be a tech support question. I am on a mac.
would appreciate any help on this issue and will continue to research myself.

Thank you,
Drew
Also the book Learn Python3 the Hard way seems awesome; I can’t wait to get going.

wait Im sorry I figured it out!!! I apologize. I dropped back to the previous exercise and found what I was doing wrong.
I should have peeked before I poked …Hopefully i wasted no ones time…

drew

Hi, one of the things I find invaluable for command line work is https://tldr.sh/. It is the man pages that most of us really want. Simple explanations and some examples of the commands.

There are a variety of ways to access: pdf, on the web, dash, or if you are doing a python book a pip-based install. Even a Homebrew install for Mac users: brew install tldr

Cheers

2 Likes

Thank you sir, I will check it out. Greatly appreciate your time.

drew

@twelch thank you sir!

drew