Change default working directory?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bryce C
Date:  
Subject: Change default working directory?
--=-wGsqjMW68U1hUPr9EsJ0
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

However that also affects the $HOME variable which many (most) programs
use to know where your user's home directory is, not just the starting
location.=20
Just an advisory to all.


On Sun, 2003-12-21 at 20:11, David Demland wrote:
> If you look in the passwd file, the last entry on each line is the shell
> setting. At the front of the shell path is a ":". The entry in front of t=

he
> ":" is the home directory. Change this and the user will be placed in tha=

t
> directory and it will become the default directory. Remember that this
> directory must exist before the login.
>=20
> David
>=20
> -----Original Message-----
> From:
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of evb
> Sent: Sunday, December 21, 2003 7:45 PM
> To:
> Subject: Change default working directory?
>=20
>=20
> Group,
>=20
> How do I change the default working directory, i.e., the one that bash
> defaults to when I boot? It is now currently defaulted to my home
> directory, but I would like it to default to another.
>=20
> I am using bash and cygwin. I realize this is not a cywin list, but I
> thought the answer would be the same nonetheless.
>=20
> Van
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>=20
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

--=20
Bryce C <>
CoBryce Communications

--=-wGsqjMW68U1hUPr9EsJ0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQA/5mJ6/wbq/C6yyPcRAr6mAJ9CU80WwWN7ZqMvia+7iMhvEaZB4gCgi6lM
wZSSSVh22cGY88VhHOZhw+E=
=BqqM
-----END PGP SIGNATURE-----

--=-wGsqjMW68U1hUPr9EsJ0--