Moving a file to a seperate directory using terminal

Tell us what’s happening:
Describe your issue in detail here.

Trying to figure out how to move (using the terminal) a file to my Trash bin?

Your code so far

My best attempt:

~desktop myname$ mv -f removethisfile.txt …/…/Trash/

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15

Challenge: Basic JavaScript - Passing Values to Functions with Arguments

Link to the challenge:

Hello, I am a bit confused by the question.
I guess this is something you are attempting in a Linux terminal or a windows terminal (or something else)?
Please give some more context.

I figured it out. apparently you add " -f" after “mv” to move something into a seperate directory.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.