Study Flashcards
four freedoms defined by the FSF
- freedom to use the software for any purpose
- freedom to examine the source code and modify it as you see fit
- freedom to redistribute the software
- freedom to redistribute your modified software
/
root; all files and subdirectories are in this directory
/etc
system configuration files
/boot
boot files such as Linux kernel, initial RAM disk, and often boot loader configuration files
/bin
program files that are critical for normal operation and that ordinary users may run
/sbin
holds program files that are critical for normal operation and that ordinary users seldom run
/lib
holds libraries that are critical for basic system operations
/usr
holds programs and data used in normal system operation but that are not critical for a bare bones boot of the system
/var
holds miscellaneous transient files, such as log files and print spool files
/tmp
holds temporary files, often including temporary files created by user programs
/mnt
the traditional mount point for removable media; sometimes split into subdirectories for each mounted filesystem
/media
the new mount point for removable media
/dev
holds devices files, which provide low level access to hardware
/run
information about the running system
ls -a
displays dot (usually configuration) files that would normally be omitted
ls –color
produces color coded listing that differentiates directories and other special file types by displaying them in different colors
ls -d
changes the behavior of ls to list only the directory name
ls -l
produces a long listing that includes information such as file’s permission string, owner, group, size, and creation date
ls -F
appends an indicator code to the end of each name so that you know what type of file it is
ls -R
causes ls to display directory contents recursively
tool used to view kernel messages
dmesg
command that shows a list of running programs
ps
command that shows an interactive live display of processes
top
command that shows free memory
free
display Linux system information
uname -a
display kernel release information
uname -r
command to show which version of Red Hat is installed
cat /etc/redhat-release
show how long the system has been running + load
uptime
show system host name
host
display all local IP addresses of the host
hostname -I
show system reboot history
last reboot
show this month’s calendar
cal
display who is online and their running programs
w
show who you are logged in as
whoami
feature of Linux where the kernel gives CPU time to any process as it sees fit, which could interrupt other processes
preemptive multitasking
what is Evolution?
an email reader program commonly used in desktop environments
kernel design that incorporates all kernel functions into a single program
monolithic
kernel design that splits kernel functions into smaller programs
micro kernel
software used by Linux to implement SMB/CIFS (file and printer sharing)
Samba
command that moves the cursor to the start of the line in Bash terminal
Ctrl + A
how do you run a program in the background?
add a & at the end of the command line, or launch program, press Ctrl + Z, then type “bg” in the shell
improved version of more with page backward in text file, search, etc)
less
keys to open the terminal in GUI
Ctrl + Alt + F3
keyboard shortcut that allows copying highlighted text while working in the command line terminal
Ctrl + Shift + C
command used as a virtual or pseudo filesystem used to interface with the kernel and process
/proc
what would properly identify the device associated with the second partition on the first hard disk on the first IDE controller of a system?
/dev/hda2
What is defined by a Free Software license?
conditions for modifying and distributing the licensed software
displays messages in kernel ring buffer
dmesg
displays CPU information
cat /proc/cpuinfo
displays memory information
cat /proc/meminfo
display free and used memory (human readable)
free -h
display PCI devices
lspci -tv
display USB devices
lsusb -tv
display DMI/SMBIOS (hardware info) from the BIOS
dmidecode
device name for a physical or virtual terminal connection
tty
a suite of client-server software for creating and using file hosting services
OwnCloud
searches the short manual page descriptions for keywords and displays any matches
man -k
command used to clear the user’s history
history -c
command used to create a new .tar archive file
tar -c
command used to print the last X bytes of a file to the screen
tail -c