Skip to content
Advertisement

I have an Arduino Yun and when i use putty (SSH) to execute mkdir command it shows “can’t create directory: No such file or directory”

The web page related to this is Link

I connected Yun with my laptop and use root to run the putty

I’m trying to use mkdir but it shows

root@spare:~# mkdir /mnt/sda1/python-packages
mkdir: can't create directory '/mnt/sda1/python-packages': No such file or  directory

need help on this

I tried to creat a folder in the SD card named “python-packages” but it didn’t work

Advertisement

Answer

Sounds like one of those directories doesn’t exist. Maybe you didn’t mount sda1. You could also try the -p switch to create parent directories, and see what happens…

mkdir -p /mnt/sda1/python-packages
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement