Intro to Linux | Cisco Lab18 | Special Directories and Files

Pubblicato il: 29 luglio 2021
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Intro to Linux | Cisco Lab18 | Special Directories and Files della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Computer Engineering life 29 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 693 volte e gli è piaciuto 12 spettatori. Buona visione!