Salut à tous, je viens vers vous avant de faire de tors grosses connerie, je tente de modifier un fichier hosto et pour le moment la modification ne vas pas bien loin.
Après avoir taper sudo -s et mon mot de passe je rentre la commande vi /etc/hosts et la ça me sort:
E325: ATTENTION
Found a swap file by the name "/etc/.hosts.swp"
owned by: root dated: Tue Nov 22 15:37:46 2011
file name: /private/etc/hosts
modified: YES
user name: root host name: imac-de-florionxxx.home
process ID: 255
While opening file "/etc/hosts"
dated: Mon Jul 11 20:05:50 2011
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/hosts"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.hosts.swp"
to avoid this message.
Swap file "/etc/.hosts.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Bon alors déjà je capte rien à l'anglais et ensuite j'ai un peu peur de faire une boulette
Quelqu'un pourrait'il m'apporter un peu d'aide?
Après avoir taper sudo -s et mon mot de passe je rentre la commande vi /etc/hosts et la ça me sort:
E325: ATTENTION
Found a swap file by the name "/etc/.hosts.swp"
owned by: root dated: Tue Nov 22 15:37:46 2011
file name: /private/etc/hosts
modified: YES
user name: root host name: imac-de-florionxxx.home
process ID: 255
While opening file "/etc/hosts"
dated: Mon Jul 11 20:05:50 2011
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/hosts"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.hosts.swp"
to avoid this message.
Swap file "/etc/.hosts.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (D)elete it, (Q)uit, (A)bort:
Bon alors déjà je capte rien à l'anglais et ensuite j'ai un peu peur de faire une boulette
Quelqu'un pourrait'il m'apporter un peu d'aide?