Linux Flashcards
What six tasks are performed by the kernel
1 Process scheduling 2 Memory management 3 Provision of filesystem 4 Creation and termination of proccesses 5 Access to devices 6 Networking
What is Kernel-mode vs User-mode
When in user mode, CPU can only access memory marked for user space. When in Kernel mode, CPU can access memory in kernel & user space
What are the basic file I/O methods
open, read, write, close
What’s the linux directory structure
root, bin, sbin, etc, dev, proc, var, tmp, usr, home, boot, lib, opt, media, mnt
What are the different types of Inter-Process Communication
Signals, Pipes, Sockets, File locking, Message Queues, Semaphores, Shared memory
What is an inode
a data structure in a Unix-style file system that describes a file-system object such as a file or a directory
How can you speed up accessing files
Disable atime modification in /etc/fstab
How to identify, list and edit all scheduled tasks?
crontab -l or crontab -e
What command can you run to check the filesystem mount points? What file holds that information?
df and fstab