Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does an arrow mean when listing files? [closed]

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

like image 726
Alex Gordon Avatar asked Jun 19 '15 17:06

Alex Gordon


People also ask

What does -> mean in Linux directory?

“>” overwrites an already existing file or a new file is created providing the mentioned file name isn't there in the directory. This means that while making changes in a file you need to overwrite certain any existing data, use the “>” operator. This sign is used to redirect the output to something else than stdout.

What does -> mean in MySQL?

The symbol <> in MySQL is same as not equal to operator (!=). Both gives the result in boolean or tinyint(1). If the condition becomes true, then the result will be 1 otherwise 0.

What does an arrow after a command indicate?

what does an arrow after a command indicate. more commands are available.

What is LS LA in Linux?

ls -l. The -l option signifies the long list format. This shows a lot more information presented to the user than the standard command. You will see the file permissions, the number of links, owner name, owner group, file size, time of last modification, and the file or directory name.


1 Answers

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

like image 109
Chris Dodd Avatar answered Oct 11 '22 14:10

Chris Dodd