Professional Documents
Culture Documents
1. What is Linux ?
Linux is a Kernel and Kernel is a core level part of a Linux operating system and also
known as open source operating system (OS). An operating system is the software that
directly manages a system's hardware and resources, like CPU, memory, and storage.
The OS sits between applications and hardware and makes the connections between all
of your software and the physical resources that do the work
Linux Unix
Development Linux is open source and is Unix was developed by AT&T Bell
1 developed by Linux community labs and is not open source.
of developers.
Supportd File Ext2, Ext3, Ext4, Jfs, ReiserFS, fs, gpfs, hfs, hfs+, ufs, xfs, zfs.
3
systems Xfs, Btrfs, FAT, FAT32, NTFS.
GUI Linux uses KDE and Gnome. Unix was initially a command based
4 Other GUI supported are LXDE, OS. Most of the unix distributions
Xfce, Unity, Mate. now have Gnome.
Default Shell Bash (Bourne Again SHell) is Bourne Shell is default shell for
6
default shell for Linux. Unix.
Example Ubuntu, Debian GNU, Arch SunOS, Solaris, SCO UNIX, AIX,
7
Linux, etc. HP/UX, ULTRIX etc.
3. Linux and Windows difference?
LINUX WINDOWS
Linux is a open source While windows are not the
operating system open-source operating
system
Linux is free cost While it is costly
Its file name is case-sensitive While its file are case-insensitive
Linux is more efficient in While windows are less efficient
comparison of windows
Linux provides more security While it provides less security
than windows than Linux
Linux is widely used in hacking While windows does not provide
purpose-based system much efficiency in hacking
General Availability
2019-05-07 (Kernel Version 2014-06-09 (Kernel Version 3.10.0-
Date of First Major
4.18.0-80) 123)
Release
Using only Chronyd. The ntp
Network Time
implementation is not Using either ntp or chronyd.
Synchronization
supported in RHEL8.
Package management is done
Package/Software by DNF (YUMv4). Yum being used and it is based on
Management version 3.0.x
- MySQL 8.0
- MariaDB 10.3 MariaDB is the default
Default Database - PostgreSQL 10 and implementation of MySQL in Red
PostgreSQL 9.6 Hat Enterprise Linux 7
- Redis 5.0
ISO Image Types - Boot ISO
- Binary DVD ISO
Available for - Binary DVD ISO
- Boot ISO
installation - Supplementary Binary DVD
- Python 3
New version of - Python 2 ( 2.7.X)
- PHP 7.2
Programming - PHP 5.4
- Ruby 2.5
Languages - Ruby 2.0.0
- Node.js 10
Run
Mode Action
Level
0 Halt Shuts down system
1 Single-User Mode Used for Single-user mode
2 Multi-User Mode Used for Multi-user mode without Network Support
Multi-User Mode with
3 Used for Multi-user mode With Network Support
Networking
4 Undefined Unuse
5 X11 Used for Graphical mode
6 Reboot Reboots the system
Effect on file
* Read (r) = Contents of the file can be readed.
* Write (w) = Contents of the file van be changed.
* Executed (x) = file can be executed as commands.
Effect on directory
* Read (r) = The directory can be listed.
* Write (w) = To create or delete files.
* Executed (x) = The directory can be accessed.
Symbolic method
* Read = r
* Write = w
* Executed = x
Numeric method
* No permission = 0
* Executed = 1
* Write = 2
* Read = 4
16. How many types of special permission and which?
Speed Hard links are comparatively faster. Soft links are comparatively slower.
# uptime
# free
24.Which command use to check kernel version?
# uname -r
# ps -aux
# cat/etc/os-release
# lsb release -a
Hostnamectl
# tar -cvf < Path of backup file> < File name >
Scp rsync
Performance over scp is relatively less optimise rsync iscomparatively more
latency and speed optimise and speed
Interruption handling scp command line tool If the above rsync session itself gets
cannot resume aborted interrupted, you can resume it as
downloads from lost network many time as you want by typing
connections the same command. rsync will
automatically restart the transfer
where it left of
Command # scp -r < source> < # rsync -av < source > <
destination> destination>
32.What is LDAP?
LDAP (Lightweight Directory Access Protocol) is an open and cross
platform protocol used for directory services authentication. LDAP
provides the communication language that applications use to
communicate with other directory services servers. Directory services
store the users, passwords, and computer accounts, and share that
information with other entities on the network.
33.What is NTP?
SMPT
* SMTP (Simple Mail Transfer Protocol) is essential if you want to use
email, so we’re going to look at how we can install and configure
mail server along with some other email-related protocols, like
Post Office Protocol (POP3) and Internet Message Access Protocol
(IMAP).
DNS
* The Domain Name System (DNS) is the phonebook of the Internet.
Humans access information online through domain names, like
nytimes.com or espn.com. Web browsers interact through
Internet Protocol (IP) addresses. DNS translates domain names to
IP address so browsers can load Internet resources.
WEB apache
* Apache is the most commonly used Web server on Linux systems.
Web servers are used to serve Web pages requested by client
computers. This configuration is termed LAMP (Linux, Apache,
MySQL and Perl/Python/PHP) and forms a powerful and robust
platform for the development and deployment of Web-based
applications.
SSH
* Secure Shell (SSH) is a program for logging into
remote machine and for executing commands on a
remote machine. It is a replace to telnet protocol and
provides secure encrypted communication between
2 untracted hosts over the network. [PORT NO- 1024-
65536]