From the course: Unix Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Creating symbolic links - Unix Tutorial
From the course: Unix Essential Training
Creating symbolic links
- [Instructor] In this movie, we're going to learn about something called symbolic links. Symbolic links are also called sym links for short. And they're similar to the shortcuts or aliases that you might have used before in a graphical user interface. The idea is that we create an object that refers to an object somewhere else in the file system. The way that we create a sym link in Unix is with the ln command. ln short for link. It's very important that you use the dash s option with ln. That's what creates the symbolic link. If you leave that off it creates something called a hard link. And that works very differently, and it's rarely used. So rarely we're not even going to talk about it here. We're just going to focus on the much more common and much more useful symbolic links. So ln with the dash s option, followed by a path to the target file, and then the path to the sym link that we want to create. There's…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
File system basics7m 24s
-
(Locked)
Creating files4m 4s
-
(Locked)
Reading files5m 7s
-
Creating directories3m 10s
-
(Locked)
Moving and renaming files and directories5m 43s
-
(Locked)
Copying files and directories5m 10s
-
(Locked)
Deleting files and directories2m 53s
-
(Locked)
Creating symbolic links5m 21s
-
(Locked)
Searching for files and directories4m 11s
-
(Locked)
-
-
-
-
-