Intro to Linux | Cisco Lab18 | Special Directories and Files

Publicado el: 29 julio 2021
en el canal de: Computer Engineering life
693
12

Notes: https://docs.google.com/document/d/1G...


00:00 18.1: Introduction
View files with special permissions.
Create hard and soft links.

00:07 18.2: Viewing Special Permissions
A "t" in the other's execute column, what does it mean?
Sticky bit permission set.

02:05 18.2.2: Setuid & Setgid Command
A "s" or "S" in the user's execute column is a setuid command.
A "s" or "S" in the group's execute column is a setgid command.

04:12 18.3 Hard & Soft Links (Hard Links mostly)
Callback, sending a string to a new file.
Use the [-i] option with the [ls -l] to be [ls -li [file name]] to get the inode of the file.
Hard link description. They can use multiple names to refer to the same file. They increase the link counter. If a file name is deleted the file still exist as long as there is a file with the same inode in existence. They cannot be linked to directories. They must exist within the same filesystem as the file that it links to.
Creating a hard link. Syntax: [ ln ~target~ ~link name~ ].

08:51 Soft Links
A.k.a. soft link.
They do not increase the link count of files with which they are linked.
Unlike hard links, they have their own inode.
Where hard links cannot soft links can, and visa versa.
Creating a soft link. Syntax: [ ln -s ~target~ ~link name~ ].
Permissions listed in the soft link do not matter as they are determined by the source file they are linked to.


En esta página del sitio puede ver el video en línea Intro to Linux | Cisco Lab18 | Special Directories and Files de Duración hora minuto segunda en buena calidad , que subió el usuario Computer Engineering life 29 julio 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 693 veces y le gustó 12 a los espectadores. Disfruta viendo!