Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi N - Z > Sistemi operativi I > test -nt esiste in minix?
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
test -nt esiste in minix?

Scusate ma l'opzione del comando test


code:
-nt


esiste in minix??
Da quello che ho capito googlando un po questa opzione di test confronta due file e restituisce 0 se file1 è più recente di file2 e dovrebbe essere presente in tutti i sistemi unix; ma se provo a dare

code:
[ file1 -nt file2 ]


oppure

code:
test file1 -nt file2


(che alla fine è la stessa cosa)

mi restituisce

code:
[: syntax error


e in effetti se guardo man test non vedo l'opzione -nt. E' proprio così? cioè l'opzione -nt è presente in tutti i sistemi Unix trannche Minix? Se sì, come faccio a vedere se un file è piu recente di un altro?

24-08-2009 11:07
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

se guardi in man stat trovi un esempio :)

ciao

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

24-08-2009 13:39
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Spr1gg4N
.illuminato.

User info:
Registered: Sep 2007
Posts: 162 (0.03 al dì)
Location:
Corso:
Anno:
Time Online: 1 Day, 18:40:54 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Originally posted by mark
se guardi in man stat trovi un esempio :)

ciao


grazie mille non conoscevo questo comando e in effetti risolve il problema :D

25-08-2009 09:09
Click Here to See the Profile for Spr1gg4N Click here to Send Spr1gg4N a Private Message Find more posts by Spr1gg4N Add Spr1gg4N to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 09:53.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.037 seconds (65.41% PHP - 34.59% MySQL) con 26 query.