Linux Crash Course - Symbolic Links

preview_player
Показать описание
In this episode of Linux Crash Course, we take a look at symbolic links, aka "symlinks" aka "soft links". In addition, a brief discussion on inodes is featured, as well as the difference between soft links and hard links.

# LearnLinuxTV Links
🐧 Main site:

🐧 LearnLinuxTV Community:

# Support LearnLinuxTV (commission earned)
📖 Check out Jay's latest book, Mastering Ubuntu Server 4th Edition. Covers Ubuntu 22.04!

🙌 Support me on Patreon and get early access to new content!

☁️ Support LearnLinuxTV and Set up your own cloud server with Akamai Connected Cloud!

🛒 Affiliate store for Linux compatible hardware/accessories (commission earned):

💻 Check out the Tiny Pilot KVM for your Homelab (commission earned):

# About Me
🐦 Follow me on Twitter!

👨 More about me:

# Recommended evergreen videos:
💽 How to create a bootable flash drive for installing Linux

🐧 Understanding Linux permissions

🐧 OpenSSH Guide

📖 LVM Deep-dive:

🔐 How to better secure OpenSSH:

☁️ How to create a cloud Linux server with Linode:

*📘 FAQ*

#LinuxEssentials #symlink #CLI
Рекомендации по теме
Комментарии
Автор

I've been a Linux user full time since 2004, dabbled in Linux (and Unix) since the early 90s, and only now do I haver a clearer understanding of inodes and links. Thank you.

larrywilliams
Автор

Thank you.

An easier way to use the full path when creating a link:

Create a soft symbolic link to a file using long path: ln -s $(readlink -f FILE) $(readlink -f ~/Dir01/Dir02/Dir03)

This will retrieve and use the full path to the original file and target directory.

k.chriscaldwell
Автор

Hard links can indeed be copied or moved to other media just like any other file (18:06). But a hard link cannot _reference_ a file outside of the file system that it's on. Every file is a hard link. When a file is created, there is one hard link to that file. Additional hard links can be created, basically giving additional names to the same file. The second field returned by the *ls -l* command (after the permission string) gives the number of hard links to a file. The file content is not removed until the last hard link to a file is removed.

spruce-bogey
Автор

Many thanx. I couldn't understand why the symlink where not working. Put the complete path and it now does.thank you.
Your videos are informative and well explained.

kelsangsherab
Автор

Thanks Jay, now I understand clearly the relationship between nodes and soft links and hard links even I seldom used it.

MrLopez-kzzl
Автор

I love the piece by piece explanations Jay!!! Keep up the great Linux content!

strifef
Автор

Very helpful video, thank you! As a long time Microsoft user (since MS-Dos 1.1 and Win 3.0) I have always wondered if there was a "shortcut" capability in Linux. Now that Microsoft has forced me away from Windows (for too many reasons to list here), I am learning Linux and slowly transitioning my home systems to it as well. It appears you have answered my quest with your video. Thank you so much for your explanations.

rvamark
Автор

Thanks for the detailed video tutorial. I am currently studying for RHSA and needed details.

chrits
Автор

Thankyou for this video. I have subscribed and liked. I am in college for cybersecurity and am taking Linix Admin class and this video has helped me very much.

greenfairy
Автор

can't believe this is free out here. Thanks for the great explanation.

ChristianPadilla-zzhs
Автор

I don't know why but i believe everything this two person describe. Great video thank u.

hofpv
Автор

Great tutorial! I did not even notice how these 30 minutes passed!

attutorials
Автор

DING (desktop icons NG) allows drag drop support

ShrirajHegde
Автор

Thank you Jay for this awesome tutorial on symbolic links!

juliettetworsey
Автор

dude.. the information I get from your videos is INVALUABLE!!
Thank you very much for your great work!

reveng
Автор

Amazing work Jay any light on root file & shadow file would be greatly appreciated

srsr
Автор

Symlinks are very useful like you stated. Also true don't go nuts with them... One good use case is a script that is not in your path but you want to use it, so a symlink works well for that. I do that on several files on my desktop that are link to files on my server master document folder, that works well from all my desktops... :-)
I also symlinked a few directories on my server which are on another drive in the server... They work great, just don't make a sym of a sym that will muck up the works... LOL
Thanks for the video!
LLAP

BrucesWorldofStuff
Автор

Superb video, as always. You've been a massive help to me delving into Linux.
On a different note, the colours in the video seem a bit washed out, not noticed that on your other videos.

garethsutcliffe
Автор

love the content love the way of explaining

kadirsuzen
Автор

Your crontributions to the comunity are so huge Jay!! Thank you very much. There should be a Linux distro named after you. Jaynux!! 🤣

ropperish