Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

unix symbolic link

ln -s source_file myfile
Comment

PREVIOUS NEXT
Code Example
Shell :: git clone through ssh 
Shell :: printf 
Shell :: one drive linux 
Shell :: Create github repo in command line 
Shell :: windows how to run sh script 
Shell :: how to clone repo with all branches 
Shell :: fslmaths threshold 
Shell :: run anydesk from terminal ubuntu 
Shell :: disable selinux firewall centos 8 
Shell :: the most profitable business in zimbabwe 
Shell :: firebase npm install "Enter authorization code" 
Shell :: snap linux 
Shell :: chown ubuntu 
Shell :: pnpm upgrade 
Shell :: git copy branch to another 
Shell :: ubuntu install Qsampler 
Shell :: install youtube-dl on ubuntu 20.04 
Shell :: linx delete 
Shell :: how to install brave browser on manjaro 
Shell :: packet tracer 2.7.1 Full Config BC-2 Router 
Shell :: hyper-v mobylinuxvm primary ubuntu what is the login 
Shell :: check if server has alreday AD 
Php :: php replace space with underscore 
Php :: phpmailer utf8 
Php :: o perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host. 
Php :: php supress errors 
Php :: composer require guzzlehttp/guzzle 
Php :: Example wp-config.php for Debugging 
Php :: laravel where created_at today 
Php :: php get string after character 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =