[so] [Tema1][Linux] cale cu link
Andrei Ismail
iandrei at gmail.com
Fri Mar 27 10:32:47 EET 2009
Salut, Lucian!
La mine nu se reproduce acest comportament. Iata cateva intrebari:
1) Esti sigur ca ambele ruleaza acelasi pwd? Incearca sa verifici chestia
asta.
2) Ce distributie folosesti?
3) Crezi ca e posibil ca user-ul sub care se manifesta acest comportament sa
nu aiba ca shell bash-ul? Poti verifica acest lucru cu echo $BASH - daca e
nevid, atunci e bash.
Pana una alta, iata testul meu, facut pe Ubuntu 8.04:
aismail at freeland:~/Desktop$ ls -la | grep t1
lrwxrwxrwx 1 aismail aismail 14 2009-03-27 10:25 t1 -> path/to/tema/1
aismail at freeland:~/Desktop$ cd t1
aismail at freeland:~/Desktop/t1$ pwd
/home/aismail/Desktop/t1
aismail at freeland:~/Desktop/t1$ ./test
/home/aismail/Desktop/t1
aismail at freeland:~/Desktop/t1$ cat test.c
#include <stdlib.h>
int main(int argc, char **argv) {
return system("pwd");
}
Spor la teme,
--
Andrei Ismail
Automatic Control and Computers Faculty
Polytechnic University of Bucharest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20090327/948abc3b/attachment.htm>
More information about the so
mailing list