So I am running a fresh installation of OS X Yosemite, when I try to run the curl command, it returns an error.
curl -L https://raw.githubusercontent.com/beautifulcode/ssh-copy-id-for-OSX/master/install.sh | sh
responds with
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 805 100 805 0 0 3259 0 --:--:-- --:--:-- --:--:-- 3272
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Failed to create the file /usr/local/bin/ssh-copy-id: No such file or
Warning: directory
curl: (23) Failed writing body (0 != 1394)
Failed to install ssh-copy-id into /usr/local/bin.
I further investigated by
Arians-MacBook-Pro-Retina:~ Arian$ ls -la /usr/
total 8
drwxr-xr-x@ 10 root wheel 340 Nov 6 19:51 .
drwxr-xr-x 31 root wheel 1122 Nov 22 16:29 ..
drwxr-xr-x 5 root wheel 170 Sep 9 14:41 X11
lrwxr-xr-x 1 root wheel 3 Nov 6 19:51 X11R6 -> X11
drwxr-xr-x 1047 root wheel 35598 Nov 17 10:27 bin
drwxr-xr-x 250 root wheel 8500 Nov 17 10:27 lib
drwxr-xr-x 171 root wheel 5814 Nov 17 10:28 libexec
drwxr-xr-x 243 root wheel 8262 Nov 17 10:28 sbin
drwxr-xr-x 43 root wheel 1462 Nov 6 19:50 share
drwxr-xr-x 4 root wheel 136 Nov 6 19:45 standalone
Arians-MacBook-Pro-Retina:~ Arian$
I don't have a local folder in the /usr/ directory, is this right?
So I am running a fresh installation of OS X Yosemite, when I try to run the curl command, it returns an error.
responds with
I further investigated by
I don't have a local folder in the /usr/ directory, is this right?