Linux Server
Linux Server
In most cases, large storage devices are divided into separate sections called partitions. Linux partitioning
also allows you to divide your hard drive into isolated sections, where each section behaves as its own
hard drive.
Linux is often best installed in a dual-boot system. This allows you to run Linux on your actual hardware,
but you can always reboot into Windows if you need to run Windows software.
Linux file system has a hierarchal file structure as it contains a root directory and its subdirectories. All
other directories can be accessed from the root directory.
In Linux OS, the superuser account, called ‘root’, is virtually supreme, with unrestricted access to all
commands, files, directories, and resources. Root can also grant and remove any permission for other
users. Superuser account privileges may allow: full read/write, creating or installing files, modifying files
etc.
8. How to List Groups in Linux?
In Linux, a group is a collection of users. Users can be added to an existing group to utilize the privileges
it grants.
Read: This permission gives you the authority to open and read a file.
Write: The write permission gives you the authority to modify the contents of a file.
Execute: In Linux, you cannot run a program unless the execute permission is set. If the execute
permission is not set, you might still be able to see/modify the program code.
Linux server management that makes easier to handle network administration. These management
tools include advanced system administration features and the ability to administer databases too.
A command is a special keyword you can use in a terminal to tell your computer to perform an
action. E.g : $ ls - The ls command is short for "list," and it lists the contents of your current directory.
Command Function
man Display information about all commands
uptime Show how long system is running
users Show username who are currently logged in
service Call and execute script
15. Explain Linux service
A Linux service is an application that runs in the background waiting to be used, or carrying out essential
tasks.
16. List three services required for network activities on a Linux system
1. network - This service turns on the network card or powers the modem.
2. iptables - This is the kernel based Packet Filtering firewall service.
3. xinetd - This is the server that monitors and controls other servers.
This service provides shared (networked) printing and centralized file storage and retrieval for
networked workstations. Files may be set up to be accessed by one or many users.