TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: ANDY BURNS
date: 2018-06-15 10:57:00
subject: Re: ftp causing invalid s

RobH wrote:

> When I do ls on the root of pi:
>
> pi@raspberrypi:~ $ ls
> Desktop    Downloads  Public    Templates
> Documents  Music      Pictures  python_games  Videos
> pi@raspberrypi:~ $
>
> the /mnt directory is not listed or showing

That's because you are within your "home" folder
/home/pi

> and that is because ls only
> lists what is under /pi   while /mnt is under /

Why would you expect the ls command to list files that are not in the
current folder, unless you specify an absolute path?

you could
cd /
ls

or you could
ls /

> Just out of interest, I have created a /mnt directory under /pi, and
> also CCTV/PiZero, then changed permissions and ownership for all the
> directories.

Trying not to sound condescending, we all had to start somewhere, but I
think for your various issues it would help you to brush up your general
linux and bash knowledge, making it easier to help you ...

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.