×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Basic Terminal Window Help - mv command

  • Posts: 9
  • Thank you received: 0
Hello everyone. New user setting up a Linux mini pc, have not used a terminal window in 30 years. I'm not sure I understand the Linux directory system either. Is ComputerName the root, or is it Home?

During setup for some reason the indiwebmanager.service file was not created. A friend sent me a copy of his, and I opened the file, replaced his username with mine, saved. So far so good.

I can't use the Mint GUI to drag and drop the file into the usr/bin directory. Somehow I do not have permission on my own computer!

So I tried using the mv command in Terminal to get the file from the Downloads folder like this:

sudo mv indiwebmanager.service usr/bin

It did not work. Very frustrating not be able to do a simple file move, what is the secret?
1 year 6 months ago #86186

Please Log in or Create an account to join the conversation.

  • Posts: 276
  • Thank you received: 52
Hi Jeff,

If you are in the 'Downloads' directory, to specify the destination you need an absolute file path
sudo mv indiwebmanager.service /usr/bin
-but- 'service' files usually live in
/etc/systemd/system/indiwebmanager.service
So it would be
sudo mv indiwebmanager.service /etc/systemd/system

Gene
The following user(s) said Thank You: Jeff Morgan
1 year 6 months ago #86202

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
On travel for the last several days, sorry for the late reply.

Like editing, sometimes helpful to have a fresh set of eyes on the task.

Got it, thanks!
1 year 6 months ago #86316

Please Log in or Create an account to join the conversation.

Time to create page: 0.630 seconds