Terminal text color question

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
dalexunil

Terminal text color question

Post by dalexunil »

When I run ~$ ls from Terminal there is a file/dir that is displayed in red. When I try to cd into it I can't seem to find a legend explaining for me what this is indicating. Can't be too good I suspect since it is in red! Thank you. D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Terminal text color question

Post by Cosmo. »

Red means an archive file. See also here.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Terminal text color question

Post by Flemur »

You can also do

Code: Select all

ls -F
directories are marked with a "/", executables with a "*".

Also

Code: Select all

file some-filename
will tell you what the file is:

Code: Select all

file *
a1:                 ASCII text
bin:                directory
dat:                directory
systemctl.help.txt: ASCII text
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
dalexunil

Re: Terminal text color question

Post by dalexunil »

Perfect! Thanks for your replies. D
Locked

Return to “Beginner Questions”