Facl:filesystem access Control list--file system
Save additional access control permissions with file extension properties
SETFACL: Set File extension permissions
-M: Set
U:uid:perm
G:gid:perm
example:setfacl-m g:nichol:rw inittab
D:u:uid:perm (catalogue)
D:g:gid:perm (catalogue)
-x: Cancel
U:uid
G:gid
example:setfacl-x u:nichol inittab
-N: Do not recalculate effective permissions, Setfacl ACL mask is recalculated by default
-B: Remove all extended ACL rules
--mask: Setting effective Permissions
example:setfacl-m mask::rw-inittab
Getfacl: Viewing file extension permissions
Terminal command:
W
W.H.O.
WhoAmI
Last: Displays the/var/log/wtmp file, showing the user login history and System restart history
-N #: Displays information about recent # times
lastb: Display/var/log/wtmp file, display user error login attempt
-N #: Displays information about recent # times
Lastlog: Displays the last successful logon information for each user
-U USERNAME: Displays the most recent login information for the specified user
basename: Get path base name directly
$: Script path and name when executing script
Mail: View messages
hostname: Display host name
Terminal type:
Console: Consoles
Pty: Physical Terminal (VGA)
TTY: Virtual terminal (VGA)
TTYs: Serial terminal
pts/#: Pseudo terminal
Linux ACLs and user terminal commands