[HOW-TO] Make a Semantic Link using Linux Command Line (cli)

Semantic Links

 

Q. What do Semantic links do?

 A. How to make browsing your filesystem via the terminal a lot easier

Why would I use one?

When you are using the command line interface you probably find yourself using the cd (change directory) command a lot more than you'd like. By making a semantic link to a path you are essentially making a short-cut. It is similar, in a way, to your desktop icons which can be used to open folders from your desktop. 

How to make a semantic link yourself

(open your command line tool)


 $:/> ln -s /mnt/c/Users/Public/github/ /home/kali-blk/link/                      

Lets break that command down  

                                                                                
'ln' : Link command                                                             
'-s' : semantic flag                                                             'source' : original folder location                                              'target' : new folder shortcut location                                         
                                                                                


 

 

 



Comments