0% found this document useful (0 votes)
93 views46 pages

UDOM CYBER CLUB - 01 - Linux Basic

This document provides an introduction to Linux for beginners. It discusses what Linux is, who created it, the benefits of using it, popular Linux distributions like Ubuntu, Debian, and Kali Linux. It also covers installing Linux, the Linux file system structure, types of files and users, and basic Linux commands like ls, cd, pwd, cat, cp, mv, rm. The document recommends self-practice with Linux commands and promises to cover additional topics like Linux permissions and package management in future sessions.

Uploaded by

Sia P.L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views46 pages

UDOM CYBER CLUB - 01 - Linux Basic

This document provides an introduction to Linux for beginners. It discusses what Linux is, who created it, the benefits of using it, popular Linux distributions like Ubuntu, Debian, and Kali Linux. It also covers installing Linux, the Linux file system structure, types of files and users, and basic Linux commands like ls, cd, pwd, cat, cp, mv, rm. The document recommends self-practice with Linux commands and promises to cover additional topics like Linux permissions and package management in future sessions.

Uploaded by

Sia P.L
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 46

UDOM CYBER CLUB

2022/2023
Pr0f1l3

Name : LyMo
Call : 0654 – 8 8 8 8 7 4
Twitter: MalwarePeter
Position: Retired Lead Mentor
h3lp
Mpotisambo – 0659996059
Alexius - 0624520715
Meremo - 0742822522
Mage | Majohastriker - 0656765733
Amani – 0767909662
Steven – 0654601454
Emma - 0719815957
LINUX INTRODUCTION
WHAT IS LINUX

● LINUX is an operating system or a kernel distributed under an


open-source license. Its functionality list is quite like UNIX. The
kernel is a program at the heart of the Linux operating system
that takes care of fundamental stuff, like letting hardware
communicate with software.
Why do you need an OS?

● Every time you switch on your computer, you see a screen where
you can perform different activities like write, browse the internet
or watch a video. What is it that makes the computer hardware
work like that? How does the processor on your computer know
that you are asking it to run a mp3 file?
Who created Linux?

● Linus Torvalds -1991


The benefits of using Linux

● It is easy to learn Linux for beginners


● Being open-source, anyone with programming knowledge can modify it.
● Once you have Linux installed you no longer need an antivirus! Linux is a highly secure
system
● Linux freeware is the OS of choice for Server environments due to its stability and reliability
(Mega-companies like Amazon, Facebook, and Google use Linux for their Servers). A Linux
based server could run non-stop without a reboot for years on end
HOW TO INSTALL
WHAT IS LINUX DISTRIBUTION

● These versions/ types /kinds of Linux operating system are


called Distributions
How many distributions are out there?

● MANY
● There are hundreds of Linux operating systems or Distributions
available these days. Many of them are designed with a specific
purpose in mind. For example, to run a web server or to run on
network switches like routers, modems, etc.
How many distributions are out there?

● The latest example of one of the most popular smartphone-based


Linux Distribution is Android
few popular Linux Distributions

● ARCH
● CENTOS
● UBUNTU
● DEBIAN
● FEDORA
● GENTOO
● OPENSUSE
● LINUX MINT
● REDHAT
● SLACKWARE
LINUX DIST FOR SECURITY PENETRATION?

● KALI LINUX
● PARROT
The Best Linux Distribution!

● The term best is relative. Each Linux distribution is built for a


specific purpose-built to meet the demands of its target users.
HOW TO INSTALL LINUX

https://youtu.be/ybHxztXXE-4
https://www.youtube.com/watch?v=t4rxO0PsmKk
https://www.linuxfordevices.com/tutorials/kali-linux/install-kali-linux
-with-windows-dual-boot
https://linuxconfig.org/how-to-dual-boot-kali-linux-and-windows-10
https://www.guru99.com/install-linux.html
Creds for practice

● Android use termux

● Iphone use termius

● Window just open cmd

● Then
● ssh [email protected]
● Password: udom2022
Linux File System

● in Linux, files are ordered in a tree structure starting with the


root directory.
Types of Files

● In Linux and UNIX, everything is a file. Directories are files, files


are files, and devices like Printer, mouse, keyboard etc. Are files.
Types of Files

● General Files
● General Files also called as Ordinary files. They can contain
image, video, program or simply text. They can be in ASCII or a
Binary format. These are the most commonly used files by Linux
Users.
Types of Files

● Directory Files
● These files are a warehouse for other file types. You can have a
directory file within a directory (sub-directory).You can take them
as ‘Folders’ found in Windows operating system.
Types of Files

● Device Files:
● In MS Windows, devices like Printers, CD-ROM, and hard drives
are represented as drive letters like G: H:. In Linux, there are
represented as files.For example, if the first SATA hard drive had
three primary partitions, they would be named and numbered
as /dev/sda1, /dev/sda2 and /dev/sda3.
Types of users in Linux.

1. Regular
2. Administrative(root)
3. Service
Types of users in Linux.

● Regular User
● A regular user account is created for you when you install Ubuntu
on your system. All your files and folders are stored in /home/
which is your home directory. As a regular user, you do not have
access to directories of other users.
Types of users in Linux.

● Root User
● Other than your regular account another user account called root
is created at the time of installation. The root account is a
superuser who can access restricted files, install software and
has administrative privileges..
Types of users in Linux.

● Service user
● Linux is widely used as a Server Operating System. Services such
as Apache, Squid, email, etc. have their own individual service
accounts. Having service accounts increases the security of your
computer. Linux can allow or deny access to various resources
depending on the service.
Linux: HOME Directory

● For every user in Linux, a directory is created as /home/


LINUX COMMANDS
Why learn Command Line Interface?

● Even though the world is moving to GUI based systems, CLI has
its specific uses and is widely used in scripting and server
administration. Let’s look at it some compelling uses
pwd

● Current working directory


ls

● List files
cd

● Change directory
Others on cd command usage
cat

● Read content of file


cp

● Copying file
mv

● Move file
rm

● Remove file
whoami

● See current user


man

● Display manual for other commands


mkdir

● Create folder/directory
touch

● Create empty file


There so many commands
You need self practices
To do

● Linux permission
● Package management …….on next session

You might also like