LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is * at the end of a filename when i do a ls -F (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-%2A-at-the-end-of-a-filename-when-i-do-a-ls-f-4175503139/)

sigint-ninja 04-27-2014 09:08 AM

what is * at the end of a filename when i do a ls -F
 
hi

what is * at the end of a filename when i do a ls -F

has anybody got a table i can view other explanations
of types of files

thanks

colucix 04-27-2014 10:02 AM

An asterisk means that the file is executable. The meaning of the indicators is listed in the info page of ls. Here they are:
Code:

`-F'
`--classify'
`--indicator-style=classify'
    Append a character to each file name indicating the file type.
    Also, for regular files that are executable, append `*'.  The file
    type indicators are `/' for directories, `@' for symbolic links,
    `|' for FIFOs, `=' for sockets, `>' for doors, and nothing for
    regular files.  Do not follow symbolic links listed on the command
    line unless the `--dereference-command-line' (`-H'),
    `--dereference' (`-L'), or
    `--dereference-command-line-symlink-to-dir' options are specified.



All times are GMT -5. The time now is 01:46 PM.