How to get a script file to use bash and ssh

Andrey Repin anrdaemon@freemail.ru
Fri Sep 3 09:55:00 GMT 2010


Greetings, Jeremy Bopp!

> Assuming, of course, that the necessary entry in /etc/passwd is set
> correctly.

Even if not.
Or not set.

$ grep $USER /etc/passwd
[...]:/cygdrive/c/home/Daemon:/bin/bash

$ ls -l /cygdrive/c/home/Daemon
ls: cannot access /cygdrive/c/home/Daemon: No such file or directory

$ set | grep HOME
HOME=/c/home/Daemon
HOMEDRIVE=C:
HOMEPATH=/home/Daemon

$ ls -l $HOME
total 8015
drwxr-xr-x 1 Daemon ГЋГІГ±ГіГІГ±ГІГўГіГҐГІ       0 2010-08-29 19:21 Application Data
...

> The OP sounds pretty green and may have a different idea of
> his home directory's location than Cygwin deduces, so a little extra
> hand holding may be in order. :-)

May be... but it seems, that cygwin deduction is pretty accurate.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 03.09.2010, <13:41>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list