Horje
symbolic link linux Code Example
symbolic link linux
#to check if there is a link or not 
$ sudo ls -l file
#exmaple :-
##:$ sudo ls -l /usr/bin/python3.8
##lrwxrwxrwx 1 root root 16 Feb 17 21:01 /usr/bin/python3.8 -> /usr/bin/python3
# -> shows there is a link 
#---------------
#delink the symbolic link 
$ sudo rm file
##:$ sudo rm /usr/bin/python3.8
#no output 
#---------------
#set new link 
$ sudo -s file link
##$ sud -s /usr/bin/python3.8 /usr/bin/python3
#no ouput 

#to check again :
###:$ sudo ls -l /usr/bin/python3.8
##lrwxrwxrwx 1 root root 16 Feb 17 21:01 /usr/bin/python3.8 -> /usr/bin/python3
unix symbolic link
ln -s source_file myfile




Shell

Related
svn git equivalent commands Code Example svn git equivalent commands Code Example
installing a specific version of tensorflow Code Example installing a specific version of tensorflow Code Example
file descriptor bash Code Example file descriptor bash Code Example
git stash save name Code Example git stash save name Code Example
github actions sequential jobs Code Example github actions sequential jobs Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11