Can't find my downloaded file
I am a new bie to the linux world and started learning it by own my own.
I am facing an issue for a file i downloaded via terminal but as root (thru su -). Now i am unable to find my file where it has got saved. I am using Fedora 16.
Please help me with the issue, will appreciate the earliest helpful reply.
What command did you run?
Have you tried checking /root/Downloads/ or /tmp?
Information Server Management
Linux server management, PCI consultation and affordable web hosting.
Security For Us - Where security works for you
Providing server security and PCI compliance for individuals and businesses.
I downloaded the file by "wget [http path of the file]" command, but, when i double click the 'root' folder it actually shows that "The Folder Content Could not be displayed \ You don't have the permissions necessary to view the contents of 'root' "
Let me know how can get the permissions to view the files and folders in root directory.
Become root user
Originally Posted by rishumehra
NOTE: enter user password, not root's.
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
If you don't want to be prompted for a password, use:
NOTE: Doing this is a security risk.
echo 'username ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
Hope this helps
Aside: I dislike Fedora almost as much as ubuntu
Thanks for the information, will try this right now.
Lol, but i like Fedora more
Have you tried looking exactly under root's home directory (Usually, and always should be /root/)?
(If not, find it out via `echo $HOME' as root.)
Quote from su manpage:
Meaning you default to the root's home directory.
Invoked without a username, su defaults to becoming the superuser. The
optional argument - may be used to provide an environment similar to
what the user would expect had the user logged in directly.
I tired, both the ways given by you all but didn't worked out for me. Still when i actually double click the 'root' folder it shows "The folder contents could not be displayed."
Some other solution?
Well silly, no one except the root user look in /root.
So get a root session going and do a
or - wget the file again as your regular user in your regular home dir..
By lanlanlangzi in forum General Linux
Last Post: 04-13-2012, 02:39 AM
By carbon333 in forum Command Line
Last Post: 02-16-2012, 04:22 PM
By gcawood in forum Command Line
Last Post: 11-28-2011, 01:10 PM
By Fred in forum Linux News
Last Post: 11-01-2011, 12:30 PM
By gcawood in forum General Linux
Last Post: 10-29-2011, 08:52 AM
Tags for this Thread
Check out Linux Central for Linux software and other goodies!
» Recent Threads
Top Poster: Fred