4 File Management & 10 Network Settings Flashcards
/bin
stores essential command-line utilities and binaries
e.x. ls
/boot
stores files to boot system
/dev
stores hardware and software device drivers
e.x. storages devices here
/etc
stores basic config files for system and services
e.x.
/etc/samba/smb.conf file stores Samba config data
-manage SSH access
-firewall rules
-software management settings
/home
stores users’ home dir and their personal files
/lib
stores shared program libraries required by the kernel, CLI utilities and binaries
/media
stores mount points for removable media like CD-ROMS and floppy disks
/mnt
mount point for temporarily mounting file systems
/opt
stores optional files of large software packages.
often packages create sub directories
e.x. /opt/nessus contains files for Nessus vulnerability scanning programs
/proc
virtual file system representing continuously updates kernel info in a user file
e.x. /proc/mounts
/sbin
Stores binaries used for boot process and by the root user
e.x. /sbin/ifconfig used to manage network interfaces
/sys
a VFS storing info about devices
e.x. /sys/block includes links to devices that are stored in various subdir under /sys/ devices/
/tmp
stores temporary files that may be lost on system shutdown
/usr
contains important subdir
/usr/bin
/usr/bin - .exe programs that can be used by all users
/usr/local
/usr/local - custom built applications stored here by default
/usr/lib
/usr/lib - objects libraries and internal binaries needed by .exe files
/usr/lib64
/usr/lib64 - same purpose as /usr/lib but meant for b4-bit systems
/usr/share
/usr/share - contains read-only architecture independent files. can be shared among different architectures of an OS
/var
stores variable files that are expected to change constantly
e.x. log files, printer spools, and some networking services
stat command
displays file metadata
file command
displays info on the file type and application compatibility
e.x.
.pdf version info
.jpeg image info
absolute path
defines dir to traverse, starting from root of file system “/”
relative path
defines path beginning from the users current location instead of “/”