LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-11-2015, 02:21 AM   #1
Radicus
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
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
 
Old 01-11-2015, 03:24 AM   #2
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
I think it should have been "mv" instead of "my"
 
Old 01-11-2015, 03:35 AM   #3
Radicus
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
thats what I meant.
 
Old 01-11-2015, 03:37 AM   #4
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
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.
 
Old 01-11-2015, 03:43 AM   #5
Radicus
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
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)
 
Old 01-11-2015, 04:25 AM   #6
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
Quote:
Originally Posted by Radicus View Post
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.
 
Old 01-11-2015, 07:32 AM   #7
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by lemon09 View Post
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/[
The second reason is that which
Quote:
is a broken heritage from the C-Shell
See this post if you're interested why.
 
Old 01-11-2015, 07:37 AM   #8
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by Radicus View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Default file manager launcher opens inode/directory in Firefox when set to Konquerer flokofcgulls Slackware 8 01-17-2014 09:58 AM
LXer: Stay Social with Firefox LXer Syndicated Linux News 0 05-14-2013 10:35 PM
[SOLVED] Latest Firefox update, current, tabs stay on top.... mrclisdue Slackware 6 05-06-2012 06:11 PM
font settings won't stay in firefox Cinematography Linux - Software 2 07-26-2005 07:36 PM
Stay in home directory consty Linux - General 1 07-26-2005 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration