2-Linux Fundamentals
2-Linux Fundamentals
Linux Admin I
2
HELLO!
We are EC3 team
I am Wesam Bakheet
3
Agenda
✘ Introduction to linux
✘ Accessing the Command Line
✘ Managing Files From the Command Line
✘ Getting Help in Red Hat Enterprise Linux
4
Objectives
✘ Open source
✘ Kernel & Shell
✘ Linux Distributions
✘ Linux Installation
6
Accessing the Command Line
✘ /root
home directory for the administrative super user, root.
✘ /home
home directories where regular users store their personal data and
configuration files.
✘ /etc
Configuration files specific to this system.
✘ /var
Variable data specific to this system that should persist between boots
15
The linux file system hierarchy
✘ /run
runtime data for processes started since the last boot
✘ /dev
contains special device files which are used by the system to access
hardware
✘ /usr
Installed software, shared libraries, include files, and static read-only
program data.
/usr/bin: User commands.
/usr/sbin: System commands
16
Locating files by name
✘ Navigating paths
✗ Pwd
✗ Cd
✗ Cd ..
✗ Cd -
✗ Ls -l
✗ Ls -a
✗ Ls -R
✗ Ls -l ~
18
Managing files using command-line tools
✘ ls show files in current position
✘ cd change directory
✘ cp copy file or directory
✘ mv move file or directory
✘ rm remove file or directory
✘ pwd show current position
✘ Mkdir create directory
✘ Rmdir remove directory
✘ su switch user
✘ passwd change password
19
Managing files using command-line tools