mv: cannot stay 'firefox': No such file or directory ???
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mv: cannot stay 'firefox': No such file or directory ???
I'm trying to move a new version of Linux into the opt file through sudo but by putting "sudo mv Firefox /opt/firefox34" AND without the 34 at the end but all its saying is "sudo: unable to resolve host name --minty fresh-- mv: cannot stay 'firefox': No such file or directory" but I'm sure I downloaded the new version of Firefox! Now I can't use the Internet!
Last edited by Radicus; 01-11-2015 at 03:36 AM.
Reason: typo
Within the firefox directory you can directly click on that firefox/firefox-bin icon to start firefox locally. The only difference is other users won't be able to access the firefox in this way.
How do I get to the firefox directory? I tried finding firefox in my bin but it wasn't there. I tried moving firefox to my bin and it said I didn't have permission to do that! (really dumb person here, can't figure it out)
How do I get to the firefox directory? I tried finding firefox in my bin but it wasn't there. I tried moving firefox to my bin and it said I didn't have permission to do that! (really dumb person here, can't figure it out)
If you have downloaded firefox from the internet then it should have been in the Downloads directory (I hope you have that directory), though its not the same with all the distros. To move the firefox application to /bin you need to be the root user.
If you have locate command installed in your system then use the code
Code:
$ locate firefox
to find out where it is.
I would suggest to give us the following information:
Code:
$ which firefox
$ locate firefox
Just go to a terminal and type the commands one by one. Then just post the output.
I would suggest to give us the following information:
Code:
$ which firefox
$ locate firefox
Just go to a terminal and type the commands one by one. Then just post the output.
Sure which command will do the job here but I prefer type builtin to check for executable location. The first reason is that type can also say whether a command in question is a shell builtin. Compare:
Code:
$ type -a [
[ is a shell builtin
[ is /usr/bin/[
[ is /bin/[
$ which -a [
/usr/bin/[
/bin/[
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by Radicus
I'm trying to move a new version of Linux into the opt file through sudo but by putting "sudo mv Firefox /opt/firefox34" AND without the 34 at the end but all its saying is "sudo: unable to resolve host name --minty fresh-- mv: cannot stay 'firefox': No such file or directory" but I'm sure I downloaded the new version of Firefox! Now I can't use the Internet!
I am sorry but this is just plain confusion.
Do you mean you are trying to use a new version of Firefox? If so then why? Which distribution are you using? The best way to keep your Linux system functional and up to date is to use packages from the distribution rather than downloading them separately. So is there a specific reason you need or want a version of Firefox not available to your distribution?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.