What does an arrow mean when listing files?

15,326

It means the file in question is a symbolic link and the path after the -> is the target of the symbolic link

Share:
15,326

Related videos on Youtube

Alex Gordon
Author by

Alex Gordon

Check out my YouTube channel with videos on Azure development.

Updated on June 07, 2022

Comments

  • Alex Gordon
    Alex Gordon almost 2 years

    I am listing hidden files:

    ls -ld .?* 
    

    And I get an output:

    drwxrwxr-x  3 kisco kisco   4096 Jun 18 19:41 .shutter
    drwx------  6 kisco kisco   4096 Jun 17 11:07 .Skype
    -rw-------  1 kisco kisco  12288 Jun 16 17:47 .swm
    -rw-------  1 kisco kisco 360448 May 25 22:04 .swn
    -rw-------  1 kisco kisco  12288 May  9 21:42 .swo
    -rw-------  1 kisco kisco  12288 May  7 21:35 .swp
    drwx------  4 kisco kisco   4096 Jun  9 14:45 .thunderbird
    -rw-rw-r--  1 kisco kisco   4761 Feb 17  2013 .tmux.conf
    lrwxrwxrwx  1 kisco kisco     33 Jun 19 08:25 .vim -> /home/kisco/.haskell-vim-now/.vim
    drwxrwxr-x  4 kisco kisco   4096 Jun 17 19:40 .vim.20150619_082532
    drwxrwxr-x 12 kisco kisco   4096 Jun 16 13:49 .vim_bak
    -rw-------  1 kisco kisco   8214 Jun 19 12:19 .viminfo
    lrwxrwxrwx  1 kisco kisco     35 Jun 19 08:25 .vimrc -> /home/kisco/.haskell-vim-now/.vimrc
    -rw-rw-r--  1 kisco kisco  10673 Jun 18 19:51 .vimrc~
    -rw-rw-r--  1 kisco kisco  10673 Jun 18 19:52 .vimrc.20150619_082532
    -rw-r--r--  1 kisco kisco  20480 Jun 16 17:48 .vimrc.swo
    -rw-------  1 kisco kisco  12288 Jun  5 10:50 .vimscript.R.swp
    drwx------  2 kisco kisco   4096 Mar 16 13:19 .vnc
    -rw-------  1 kisco kisco     50 Jun 19 11:14 .Xauthority
    -rw-------  1 kisco kisco      0 May 15 17:39 .xsel.log
    -rw-rw-r--  1 kisco kisco     14 Mar 16 13:23 .xsession
    -rw-------  1 kisco kisco    711 Jun 19 11:14 .xsession-errors
    -rw-------  1 kisco kisco   1486 Jun 19 10:14 .xsession-errors.old
    

    What do these mean? ->

    enter image description here

    • anubhava
      anubhava almost 9 years
      That means a symbolic link