answers latest update
What do Linux applications use to get things done and talk to different parts of the
computer? - Answers-Kernel
What some variants of Linux? (distributions) - Answers-RedHat
Ubuntu
Debian
Mandriva
CentOS
What are the 3 elements of Linux? - Answers-User Space - application, terminal, the
graphical environment, services, background processes initiated
Kernel Space - handle the system calls, process management, drivers, processes that
can access CPU
Hardware - provided access to by users via kernel
What are used to communicate between user and kernel space? - Answers-Function
calls and programming interfaces
What is the term abstraction in Linux? - Answers-means that the details of how one
layer will work are hidden from the other layers
What are the etc var bin sbin and lib folders used for? - Answers-etc - config files or OS
and services
var - runtime and log files
bin - store binary files
lib - library files that must be available to execute
What command can you use to show the path of your environment? - Answers-echo
$PATH
What do the following do?
cd ~
cd ..
cd /home/bob
./new-app
cd / - Answers-cd ~ - home dir
cd .. - parent dir
cd /home/bob - navigate to given dir
./newapp - nav to subdir
cd / - root
, What command gives you help in linux? - Answers-man *command*
What command will show ALL files in a dir? (including hidden files (.filename))
And file size and permissions? - Answers-ls -a
ls -l (longlist)
also
ls -S (file size)
What are the 3 permissions types? - Answers-Read - R
Write - W
Execute - X
first 3 - user
second 3 bits - group
final 3 - others
What are the two types of file properties? - Answers-Absolute mode - uses number to
specify permissions (chmod 766)
r=4
w=2
x=1
Symbolic mode (chmod o+wx or chmod u-x)
What is the native linux file system? - Answers-EXT4
What is SWAP? - Answers-Linux version of paging
What does the parted tool do? - Answers-allow you to not only view partition
information, but also to manage partitions.
What is the sequence of linux initialisation? - Answers-hardware checks (POST)
device bus discovery
device discovery
kernel sub-system initializes
root file system mounts
start user processes