Useful shortcuts for vi editor

Showing posts with label symbolic link. Show all posts
Showing posts with label symbolic link. Show all posts

Wednesday 21 January 2015

How to list symbolic links in the current directory?

define a link;
ln -s myfolder/myfile.txt myshortcut

to see it in the list;
$ find . -type l -ls

result;
Jan 21 09:03 ./myshortcut-> myfolder/myfile.txt

to see inside of file via shortcut;
$ cat myshortcut
hello