Why is the console text sometimes a different color?












0















I have a Ubuntu server (18.04) that rebuilds itself on a schedule. Every once in a while on a fresh install, all the console text color will be a different color. Usually it's white on black, but sometimes its blue, green, or red (and maybe others, I can't remember). There doesn't seem to be anything obvious to link it to (bad install, etc).



Is the color there for a reason? What determines what color the text will be?










share|improve this question

























  • To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

    – cawwot
    Jul 9 '18 at 13:56
















0















I have a Ubuntu server (18.04) that rebuilds itself on a schedule. Every once in a while on a fresh install, all the console text color will be a different color. Usually it's white on black, but sometimes its blue, green, or red (and maybe others, I can't remember). There doesn't seem to be anything obvious to link it to (bad install, etc).



Is the color there for a reason? What determines what color the text will be?










share|improve this question

























  • To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

    – cawwot
    Jul 9 '18 at 13:56














0












0








0








I have a Ubuntu server (18.04) that rebuilds itself on a schedule. Every once in a while on a fresh install, all the console text color will be a different color. Usually it's white on black, but sometimes its blue, green, or red (and maybe others, I can't remember). There doesn't seem to be anything obvious to link it to (bad install, etc).



Is the color there for a reason? What determines what color the text will be?










share|improve this question
















I have a Ubuntu server (18.04) that rebuilds itself on a schedule. Every once in a while on a fresh install, all the console text color will be a different color. Usually it's white on black, but sometimes its blue, green, or red (and maybe others, I can't remember). There doesn't seem to be anything obvious to link it to (bad install, etc).



Is the color there for a reason? What determines what color the text will be?







server 18.04 colors console






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 9 '18 at 17:09









wjandrea

8,50742259




8,50742259










asked Jul 9 '18 at 12:41









cawwotcawwot

1027




1027













  • To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

    – cawwot
    Jul 9 '18 at 13:56



















  • To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

    – cawwot
    Jul 9 '18 at 13:56

















To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

– cawwot
Jul 9 '18 at 13:56





To clarify: The color is not just when running ls or another command. all of the text is a different color (even MOTD, login banner, prompt, etc.).

– cawwot
Jul 9 '18 at 13:56










1 Answer
1






active

oldest

votes


















2














When you write something in terminal, it's in white. If you use the ls command for showing the content of a directory, each color represents a specific type of file.



Color of files on 'ls' command:




  • Executable files: Green


  • Directory: Blue



  • Image files(jpg, gif, bmp, png, tif): Magenta


  • Symbolic links: Cyan


  • Pipe: Yellow


  • Socket: Magenta


  • Orphaned symbolic links: Blinking Bold white with red background


  • Block device driver: Bold yellow foreground, with black background


  • Missing links along with files they point to: Blinking Bold white with red background


  • Archives or compressed files(like tar,gz,zip,rpm): Red



    Source








share|improve this answer





















  • 1





    @ Wiking, thanks, I added the link to the answer.

    – Codito ergo sum
    Jul 9 '18 at 14:04













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053499%2fwhy-is-the-console-text-sometimes-a-different-color%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














When you write something in terminal, it's in white. If you use the ls command for showing the content of a directory, each color represents a specific type of file.



Color of files on 'ls' command:




  • Executable files: Green


  • Directory: Blue



  • Image files(jpg, gif, bmp, png, tif): Magenta


  • Symbolic links: Cyan


  • Pipe: Yellow


  • Socket: Magenta


  • Orphaned symbolic links: Blinking Bold white with red background


  • Block device driver: Bold yellow foreground, with black background


  • Missing links along with files they point to: Blinking Bold white with red background


  • Archives or compressed files(like tar,gz,zip,rpm): Red



    Source








share|improve this answer





















  • 1





    @ Wiking, thanks, I added the link to the answer.

    – Codito ergo sum
    Jul 9 '18 at 14:04


















2














When you write something in terminal, it's in white. If you use the ls command for showing the content of a directory, each color represents a specific type of file.



Color of files on 'ls' command:




  • Executable files: Green


  • Directory: Blue



  • Image files(jpg, gif, bmp, png, tif): Magenta


  • Symbolic links: Cyan


  • Pipe: Yellow


  • Socket: Magenta


  • Orphaned symbolic links: Blinking Bold white with red background


  • Block device driver: Bold yellow foreground, with black background


  • Missing links along with files they point to: Blinking Bold white with red background


  • Archives or compressed files(like tar,gz,zip,rpm): Red



    Source








share|improve this answer





















  • 1





    @ Wiking, thanks, I added the link to the answer.

    – Codito ergo sum
    Jul 9 '18 at 14:04
















2












2








2







When you write something in terminal, it's in white. If you use the ls command for showing the content of a directory, each color represents a specific type of file.



Color of files on 'ls' command:




  • Executable files: Green


  • Directory: Blue



  • Image files(jpg, gif, bmp, png, tif): Magenta


  • Symbolic links: Cyan


  • Pipe: Yellow


  • Socket: Magenta


  • Orphaned symbolic links: Blinking Bold white with red background


  • Block device driver: Bold yellow foreground, with black background


  • Missing links along with files they point to: Blinking Bold white with red background


  • Archives or compressed files(like tar,gz,zip,rpm): Red



    Source








share|improve this answer















When you write something in terminal, it's in white. If you use the ls command for showing the content of a directory, each color represents a specific type of file.



Color of files on 'ls' command:




  • Executable files: Green


  • Directory: Blue



  • Image files(jpg, gif, bmp, png, tif): Magenta


  • Symbolic links: Cyan


  • Pipe: Yellow


  • Socket: Magenta


  • Orphaned symbolic links: Blinking Bold white with red background


  • Block device driver: Bold yellow foreground, with black background


  • Missing links along with files they point to: Blinking Bold white with red background


  • Archives or compressed files(like tar,gz,zip,rpm): Red



    Source









share|improve this answer














share|improve this answer



share|improve this answer








edited Jan 15 at 15:11

























answered Jul 9 '18 at 13:36









Codito ergo sumCodito ergo sum

1,4602725




1,4602725








  • 1





    @ Wiking, thanks, I added the link to the answer.

    – Codito ergo sum
    Jul 9 '18 at 14:04
















  • 1





    @ Wiking, thanks, I added the link to the answer.

    – Codito ergo sum
    Jul 9 '18 at 14:04










1




1





@ Wiking, thanks, I added the link to the answer.

– Codito ergo sum
Jul 9 '18 at 14:04







@ Wiking, thanks, I added the link to the answer.

– Codito ergo sum
Jul 9 '18 at 14:04




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1053499%2fwhy-is-the-console-text-sometimes-a-different-color%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局