From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Create and manage soft links - Linux Tutorial
From the course: Linux Foundation Certified System Administrator (LFCS) Cert Prep
Create and manage soft links
- [Instructor] Let's look now at how Linux manages soft links. You know how when you install a program on Windows, you might get a shortcut on your desktop? Now you double-click on that shortcut and an application gets launched. Now, the application is obviously not installed on your desktop. It may have its files stored in C:\Program Files\MyCoolApp\ directory. And when you double-click the shortcut, this only points to an executable file at \Program Files\MyCoolApp\application.exe. So the double-click on that shortcut basically redirects you to the application.exe, which gets executed. Soft links in Linux are very similar. Now, a hard link is pointed to an Inode, but a soft link is nothing more than a file that points to a path instead. It's almost like a text file with a path to a file or directory inside. The syntax of the command to create a soft link, which is also called a symbolic link, is the same as before, but we need to add the -s, or symbolic option. For example, to…
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
-
-
-
Log into local and remote graphical and text mode consoles7m 18s
-
Demo: Log into local and remote graphical and text mode consoles2m 30s
-
Read and use system documentation8m 5s
-
Create, delete, copy, and move files and directories11m 4s
-
(Locked)
Create and manage hard links7m 5s
-
(Locked)
Create and manage soft links3m 14s
-
(Locked)
List, set, and change standard file permissions13m 48s
-
(Locked)
SUID, SGID, and sticky bit7m 18s
-
(Locked)
Search for files12m 33s
-
(Locked)
Compare and manipulate file content9m 6s
-
(Locked)
Pagers and VI demo5m 56s
-
(Locked)
Search a file using grep5m 6s
-
(Locked)
Analyze text using basic regular expressions7m 46s
-
(Locked)
Extended regular expressions10m 3s
-
(Locked)
Archive, back up, compress, unpack, and uncompress files (optional)5m 3s
-
(Locked)
Compress and uncompress files (optional)4m 27s
-
(Locked)
Back up files to a remote system (optional)3m 52s
-
(Locked)
Use input-output redirection (e.g. >, >>, |, 2>)12m 47s
-
(Locked)
Work with SSL certificates17m 30s
-
(Locked)
Git: Basic operations8m 2s
-
(Locked)
Git: Staging and committing changes9m 31s
-
(Locked)
Git: Branches and remote repositories18m 18s
-
-
-
-
-
-