Documente Academic
Documente Profesional
Documente Cultură
c
r
Group
± Collection of user accounts
± Can be collectively granted access to files and
directories
Each user in Linux is assigned to primary group
/etc/group file
± Lists members of each defined group
/etc/group file
± Defines groups on Linux system
± vigr command
Edit this file
± Contents include:
Name of group
Group password
GID number
Members of group
/etc/shadow
± Stores encrypted passwords
± Can only be read by:
Root user
Certain utilities
Shadow password suite
± Collection of password-related programs
± Have been modified to recognize /etc/shadow file
id command
± Shows effective UID
logname command
± View user name that you used to log in
whoami command
± Shows user name of currently effective UID
groups command
± Lists all groups you are a member of
rw-rw-rw-
umask command
± Defines mask to stop certain permissions from
being granted by default when files created
± Executed automatically when you log in to Linux
± Uses same three-digit permission codes as chmod
command
Partition
± Distinct area of hard disk
± Has been prepared to store particular type of data
File system
± Arrangement of information on device such as
hard disk
df command
± See status of all currently accessible file systems
find command
± Helps find objects matching exact search criteria
± Doesn¶t use prebuilt index
± Example: find /home -name "report.doc" -print
Compressing files
± Useful way to use less space for rarely accessed
data
± Makes files smaller before transmitting them over
network
gzip command
± Compress any file
gunzip command
± Uncompresses file compressed using gzip