Can't find my downloaded file

R

rishumehra

Guest
Hi Folks,

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.



cheers,
Rishu Mehra
 


E

ehansen

Guest
What command did you run?

Have you tried checking /root/Downloads/ or /tmp?
 
R

rishumehra

Guest
Hi ehansen,

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.


cheers
Rishu Mehra
 
P

pane-free

Guest
. . .

Let me know how can get the permissions to view the files and folders in root directory.


cheers
Rishu Mehra
Become root user

PHP:
su -
PHP:
echo 'username ALL=(ALL) ALL' >> /etc/sudoers
NOTE: enter user password, not root's.

-------------------------------------------------------------------------------------------

If you don't want to be prompted for a password, use:

PHP:
echo 'username ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
NOTE: Doing this is a security risk.

Hope this helps

Aside: I dislike Fedora almost as much as ubuntu :p
 
R

rishumehra

Guest
Thanks for the information, will try this right now.

Lol, but i like Fedora more :D
 
K

Kerms

Guest
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:
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.
Meaning you default to the root's home directory.
 
R

rishumehra

Guest
Hey Folks,

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?


cheers,
Rishu Mehra
 
K

Kerms

Guest
Well silly, no one except the root user look in /root.
So get a root session going and do a
cd $HOME
 
R

Rob

Guest
or - wget the file again as your regular user in your regular home dir.. ;)
 



Latest posts

Top