Article 6JK9P How to show the content of an external drive in bash with ROOT permissions ?

How to show the content of an external drive in bash with ROOT permissions ?

by
Tricia279
from LinuxQuestions.org on (#6JK9P)
early every linux system has a data manager. In my case, I have Nautilus because, I have a GNOME environment.

If I connect an external drive to my system, I can see the content in Nautilus with my users permissions.

My question is:

With which command as ROOT, I can see the content in a tree structure as 'ls -lh' in '\' ?

I did: findmnt -l to see if the device was mounted

TARGET /run/media/admin/cf7a4e4e-9f2f-4952-bca8-46ddce184885 [name of the device]

SOURCE /dev/sda1

FSTYPE ext4

OPTIONS rw, nosuid, nodev, relatime, secl

lsblk -l to see the size of the content

I really appreciate your help !!!

Solution:
It is easier as I thought:
As ROOT:
# cd /run/media/admin/cf7a4e4e-9f2f-4952-bca8-46ddce184885
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments