×

INDI Library v1.9.9 Released (30 Nov 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

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?
3 months 16 hours ago #86186

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

  • Posts: 241
  • Thank you received: 49
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
3 months 4 hours 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!
2 months 3 weeks ago #86316

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

Time to create page: 0.762 seconds