Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Indicazione percorso cartelle
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Chetto
Apprentice
Apprentice


Joined: 28 Nov 2006
Posts: 188
Location: Arco

PostPosted: Thu Jul 26, 2007 11:25 am    Post subject: Indicazione percorso cartelle Reply with quote

Probabilmente è una domanda ovvia ma qualcuno sarebbe così gentile da spiegarmi la differenza nel mettere o meno il segno / all fine del percorso di una cartella?

Per esempio, che differenza c'è tra:

Code:
ls /usr/src/linux
e
Code:
ls /usr/src/linux/
?[/quote]
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Thu Jul 26, 2007 12:03 pm    Post subject: Reply with quote

La diffenza la vedi subito:
Code:

$ ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 30 mag 21:36 /usr/src/linux -> linux-2.6.20-gentoo-r8

$ ls -l /usr/src/linux/
totale 7882
drwxr-xr-x 27 root root     656 15 mag 00:32 arch
drwxr-xr-x  2 root root    1040 30 mag 21:46 block
-rw-r--r--  1 root root   18693 15 mag 00:32 COPYING
-rw-r--r--  1 root root   90675 15 mag 00:32 CREDITS
drwxr-xr-x  2 root root    2184 30 mag 21:57 crypto
drwxr-xr-x 61 root root    6112 15 mag 00:32 Documentation
drwxr-xr-x 65 root root    1720 30 mag 21:51 drivers
drwxr-xr-x 64 root root    6912 30 mag 21:46 fs
drwxr-xr-x 43 root root    1176 30 mag 21:39 include
drwxr-xr-x  2 root root     968 30 mag 21:54 init
drwxr-xr-x  2 root root     832 30 mag 21:46 ipc
-rw-r--r--  1 root root    1262 15 mag 00:32 Kbuild
drwxr-xr-x  5 root root    5520 30 mag 21:41 kernel
drwxr-xr-x  5 root root    5960 30 mag 21:57 lib
-rw-r--r--  1 root root   82094 15 mag 00:32 MAINTAINERS
-rw-r--r--  1 root root   50340 15 mag 00:32 Makefile
drwxr-xr-x  2 root root    3984 30 mag 21:41 mm
-rw-r--r--  1 root root  192056 30 mag 21:57 Module.symvers
drwxr-xr-x 37 root root    1352 30 mag 21:53 net
-rw-r--r--  1 root root      52 15 mag 00:32 patches.txt
-rw-r--r--  1 root root   16936 15 mag 00:32 README
-rw-r--r--  1 root root    3119 15 mag 00:32 REPORTING-BUGS
drwxr-xr-x  9 root root    1752 30 mag 21:40 scripts
drwxr-xr-x  4 root root     448 30 mag 21:46 security
drwxr-xr-x 17 root root    1184 30 mag 21:57 sound
-rw-r--r--  1 root root  993059 30 mag 21:56 System.map
drwxr-xr-x  2 root root     536 30 mag 21:40 usr
-rwxr-xr-x  1 root root 8640408 30 mag 21:56 vmlinux

Nel primo caso, essendo "linux" un collegamento simbolico, viene trattato ed elencato come file.

P.S. Tutte le domande/questioni non inerenti STRETTAMENTE a Gentoo andrebbero nel subform " Forum di discussione italiano", mi raccomando la prossima volta :wink:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
Chetto
Apprentice
Apprentice


Joined: 28 Nov 2006
Posts: 188
Location: Arco

PostPosted: Thu Jul 26, 2007 12:20 pm    Post subject: Reply with quote

Ah, quindi c'è differenza solo se l'ultima voce è un collegamento simbolico giusto?

Quote:
utte le domande/questioni non inerenti STRETTAMENTE a Gentoo andrebbero nel subform " Forum di discussione italiano", mi raccomando la prossima volta :wink:


Scusa, non credevo così strettamente... :?
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jul 27, 2007 8:41 am    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
Ciao da me!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum