Home · Latest · Trends  /  general
0

symlink - the correct order

rated 0 times [  0] [ 0]  / comments: 0 / hits: 412  / 2 yaers ago, thu, mar 2, 2017, 14:49:06
I almost always do symlinks backwards the first time - hence the reason for this post. When creating a symlink, list the real file location first, then the symlink.
# In this case, /etc/grub.conf is the symlink and needs to point to /boot/grub/grub.conf
ln -s /boot/grub/grub.conf /etc/grub.conf
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 118
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017