Menu
Forums
Nouveaux sujets
Chercher dans les forums
Quoi de neuf ?
Nouveaux sujets
Nouveaux messages de profil
Activité récente
MacGeneration
MacGeneration
iGeneration
WatchGeneration
Je veux le.top
iOccasion
RefurbGeneration
Connexion
S'inscrire
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Rechercher
Rechercher par titre uniquement
Par:
Rechercher par titre uniquement
Par:
Menu
Forums
Forum Mac
macOS
Macintosh HD en double ???
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="macomaniac" data-source="post: 13907231" data-attributes="member: 1060554"><p>Bonjour <strong>Éric</strong></p><p></p><p>Je ne réponds ici qu'à propos de l'intitulé dans le <strong><span style="font-family: 'courier new'">terminal</span></strong> > car ce point mérite un développement détaillé en soi. Ton <u>invite de commande</u> du <strong><span style="font-family: 'courier new'">terminal</span></strong> :</p><p>[code]Eric@macbook-pro-2 ~ %[/code]</p><ul> <li data-xf-list-type="ul">est celle du nouvel <u>interpréteur de commande</u> par défaut <strong><span style="font-family: 'courier new'">ksh</span></strong> de l'OS <u>Catalina</u>. Le <u>segment à gauche</u> de l'<strong>@</strong> = <strong><span style="color: rgb(44, 130, 201)"><span style="font-family: 'courier new'">Eric</span></span></strong> est ton <u>nomcourt d'utilisateur connecté</u> ayant ouvert une session de <strong><span style="font-family: 'courier new'">terminal</span></strong>. Le <u>segment à droite</u> de l'<strong>@</strong> = <strong><span style="color: rgb(226, 80, 65)"><span style="font-family: 'courier new'">macbook-pro-2</span></span></strong> est le <strong><span style="font-family: 'courier new'">HostName</span></strong> ou <u>nom d'hôte</u> du Mac > qui désigne toujours le Mac dans un <strong><span style="font-family: 'courier new'">terminal</span></strong>.</li> </ul> <ul> <li data-xf-list-type="ul">une précision ici (assez byzantine faut-il bien dire). Le <strong><span style="font-family: 'courier new'">HostName</span></strong> du Mac n'est <u>pas</u> "<u>fixé en mode indépendant</u>" par <u>défaut</u> > mais <u>aligné en écho</u> sur un <u>autre nom</u> du Mac qui est le <strong><span style="font-family: 'courier new'">LocalHostName</span></strong> ou <u>nom local</u> du Mac sur le <u>réseau domestique</u>. Ainsi > on peut supposer que le <u>nom de réseau</u> actuel de ton Mac est <strong><span style="color: rgb(226, 80, 65)"><span style="font-family: 'courier new'">macbook-pro-2</span></span></strong> => ce qui fait qu'<u>en écho</u> le <u>nom d'hôte</u> du Mac dans un <strong><span style="font-family: 'courier new'">terminal</span></strong> se trouve libellé du même <strong><span style="color: rgb(226, 80, 65)"><span style="font-family: 'courier new'">macbook-pro-2</span></span></strong>.</li> </ul> <ul> <li data-xf-list-type="ul">il existe une commande <strong><span style="font-family: 'courier new'">scutil</span></strong> (<span style="font-family: 'courier new'"><strong>s</strong>ystem_<strong>c</strong>onfiguration_<strong>util</strong>ity</span>) qui permet notamment de <u>manipuler les noms du Mac</u> et de <u>fixer</u> le <strong><span style="font-family: 'courier new'">HostName</span></strong> dans un <strong><span style="font-family: 'courier new'">terminal</span></strong> d'une <u>manière indépendante</u> du <strong><span style="font-family: 'courier new'">LocalHostName</span></strong> sur le <u>réseau local</u>. De sorte qu'<u>aucune variation du nom de réseau</u> du Mac => ne puisse venir <u>en écho</u> faire <u>varier à l'unisson</u> le <u>nom d'hôte</u> du Mac dans le <strong><span style="font-family: 'courier new'">terminal</span></strong>.</li> </ul><p></p><p>Souhaites-tu un <u>nom d'hôte</u> dans le <strong><span style="font-family: 'courier new'">terminal</span></strong> <u>fixé indépendamment du nom de réseau</u> et si <u>oui</u> : quel <u>nom</u> (tu es entièrement libre de ton choix d'intitulé) ?</p></blockquote><p></p>
[QUOTE="macomaniac, post: 13907231, member: 1060554"] Bonjour [B]Éric[/B] Je ne réponds ici qu'à propos de l'intitulé dans le [B][FONT=courier new]terminal[/FONT][/B] > car ce point mérite un développement détaillé en soi. Ton [U]invite de commande[/U] du [B][FONT=courier new]terminal[/FONT][/B] : [code]Eric@macbook-pro-2 ~ %[/code] [LIST] [*]est celle du nouvel [U]interpréteur de commande[/U] par défaut [B][FONT=courier new]ksh[/FONT][/B] de l'OS [U]Catalina[/U]. Le [U]segment à gauche[/U] de l'[B]@[/B] = [B][COLOR=rgb(44, 130, 201)][FONT=courier new]Eric[/FONT][/COLOR][/B] est ton [U]nomcourt d'utilisateur connecté[/U] ayant ouvert une session de [B][FONT=courier new]terminal[/FONT][/B]. Le [U]segment à droite[/U] de l'[B]@[/B] = [B][COLOR=rgb(226, 80, 65)][FONT=courier new]macbook-pro-2[/FONT][/COLOR][/B] est le [B][FONT=courier new]HostName[/FONT][/B] ou [U]nom d'hôte[/U] du Mac > qui désigne toujours le Mac dans un [B][FONT=courier new]terminal[/FONT][/B]. [/LIST] [LIST] [*]une précision ici (assez byzantine faut-il bien dire). Le [B][FONT=courier new]HostName[/FONT][/B] du Mac n'est [U]pas[/U] "[U]fixé en mode indépendant[/U]" par [U]défaut[/U] > mais [U]aligné en écho[/U] sur un [U]autre nom[/U] du Mac qui est le [B][FONT=courier new]LocalHostName[/FONT][/B] ou [U]nom local[/U] du Mac sur le [U]réseau domestique[/U]. Ainsi > on peut supposer que le [U]nom de réseau[/U] actuel de ton Mac est [B][COLOR=rgb(226, 80, 65)][FONT=courier new]macbook-pro-2[/FONT][/COLOR][/B] => ce qui fait qu'[U]en écho[/U] le [U]nom d'hôte[/U] du Mac dans un [B][FONT=courier new]terminal[/FONT][/B] se trouve libellé du même [B][COLOR=rgb(226, 80, 65)][FONT=courier new]macbook-pro-2[/FONT][/COLOR][/B]. [/LIST] [LIST] [*]il existe une commande [B][FONT=courier new]scutil[/FONT][/B] ([FONT=courier new][B]s[/B]ystem_[B]c[/B]onfiguration_[B]util[/B]ity[/FONT]) qui permet notamment de [U]manipuler les noms du Mac[/U] et de [U]fixer[/U] le [B][FONT=courier new]HostName[/FONT][/B] dans un [B][FONT=courier new]terminal[/FONT][/B] d'une [U]manière indépendante[/U] du [B][FONT=courier new]LocalHostName[/FONT][/B] sur le [U]réseau local[/U]. De sorte qu'[U]aucune variation du nom de réseau[/U] du Mac => ne puisse venir [U]en écho[/U] faire [U]varier à l'unisson[/U] le [U]nom d'hôte[/U] du Mac dans le [B][FONT=courier new]terminal[/FONT][/B]. [/LIST] Souhaites-tu un [U]nom d'hôte[/U] dans le [B][FONT=courier new]terminal[/FONT][/B] [U]fixé indépendamment du nom de réseau[/U] et si [U]oui[/U] : quel [U]nom[/U] (tu es entièrement libre de ton choix d'intitulé) ? [/QUOTE]
Insérer les citations…
Vérification
Publier votre réponse
Forums
Forum Mac
macOS
Macintosh HD en double ???
Haut
Bas