What are you trying to do ?? /bin is usually reserved for programs that belong to the OS and need to be executed during boot time ... It's not something you should mess around with unless you know what you do.gerj wrote:How do I move a bin file from my desktop to the '/BIN' directory?
You probably meant /usr/bin ... that's where end-user programs should go. But still: you shouldn't move files into this location if you don't know precisely what you do. As for installing programs: That's why we have package managers such as "Synaptic" here on Linux that will handle these things for us. You're not supposed to install stuff manually (ewwww, how barbaric ...)
Can you please tell us more what you are trying to do here?
As for your question:
1. You can have your own "bin" directory inside your home, e.g. /home/youraccount/bin and install scripts etc. into this location (programs installed there would only be accessible to you and not to other users on the same machine ... )
2. The command to move things around is mv .... see the man page: man mv
So what you need is a combination such as ...
Code: Select all
sudo mv /path/to/file/that/shouldnt/need/2/be/installed/this/way /usr/bin