symb. link do ~
Martin 'Goran' Moravec
goran na ucw.cz
Pátek Leden 4 13:24:33 CET 2002
> Asi to, ze kdyz dam
> ln -s \~./pokus ./pokus, tak to nefunguje. Potrebuji to na pristup z
> adresare aplikace na jina data a takhle mi to nefunguje a pokud tam dam
> ln -s $HOME/pokus ./pokus tak se mi udela pevny odkaz na uzivatele ktery
> odkaz tvori.
> Takze to neni to prave. Ja bych potreboval, aby se mi treba odkaz
> /vlastni_data vzdy odkazoval na ~/vlastni_data, to znamena, ze pokud
> tento odkaz pouzije user1, tak se odkaze na /home/user1/vlastni_data a
> pokud tam pujde user2, tak ten samy odkaz pujde na
> /home/user2/vlastni_data a pokud root, tak na /root/vlastni_data a to
> neumim a nevim, jak bych to udelal.
a musi to byt adresar?
nestaci promenna?
do /etc/profile dat proste neco jako VLASTNI_DATA=~/vlastni_data
export VLASTNI_DATA
a pak pouzivat cp _soubor_ $VLASTNI_DATA/
--
--
A novice was trying to fix a broken lisp machine by turning the
power off and on. Knight, seeing what the student was doing spoke sternly,
"You cannot fix a machine by just power-cycling it with no understanding
of what is going wrong." Knight turned the machine off and on. The
machine worked.
-- Just another form of life
Goran
Další informace o konferenci Linux