Linux File System (names of folders) Flashcards
(39 cards)
bin
contains executable files nescessary to manage and run the linux system
like the shell system
and copy/paste as well!
boot
actual files to boot the linux system
dev
replesents the various hardware that can exist in the system
example harddrives
/dev/sda1, dev/sda2,
two types of device files.
What 2 types of devices can be stored in the dev/ folder
character devices (printers, mice, tape drives) that send and recieve data one character at a time
block-oriented device files. Files that manage data in “blocks”. Blocks can also support RAM access (harddrives, usb flash drive)
etc
contains text based config files used by the system as well as services running on the system.
can edit to customize
etc/aliases
cantains a table used to rediret all local users
/etc/exports
configured file systems to be exprted to remove NFS clients
/etc/fstab
lists the partitions and file systems that will be automatically mounted when we boot our Linux system
/etc/ftpusers
Controls users access to FTP service running on a Linux system
/etc/groups
Contains local group definitions
/etc/grub.conf
Contains config parameters for the init process
/etc/hosts
contains a list of hostname IP address mappings that can use to resovle certain hostnames
/etc/inittab
contains config parameters for the init process
/etc/init.d
sub directory tha tcontains more startup scripts and services
/etc/rd.d/init.d/
for redhat or centOS system startup scripts
/etc/passwd
linux systems user accounts stored
/etc/shadow
where encrypted passwords for the user accounts are stored
/etc/X11
config for X windows files
/etc/resolv.conf
where we specify what DNS server and domain suffix that the system is going to use
home
directory that contains subdirectorise that serve as home directories for all users on the system
lib
library - contains code libraries useb by programs in the bin files
mnt
used by some, to mount other external drives
opt
files for programs that you can instal on your own manualli (exe type)
proc
(doesnt actually exist) - its a pseudo file system that is created dynamically when accessed. used to access processes and other kernal informaitons. Each subdirectires have numbers which correspond to a process id (pid) nuber