Lab01 Gettting Start with Java



Download 316.96 Kb.
Date17.12.2020
Size316.96 Kb.
#55441
SNA Nadir Ali Kazmi 02-235182-022 Assignment 1



Bahria University

Department of Computer Science



Systems and Network Administration

BS-IT – 5A Evening






Fall 2020






Assignment # 01




Marks: 10




Obtained Marks:_____

Registraton No:

02-235182-022

Student Name:

Nadir Ali Kazmi



Linux is a major strength in computing technology. Most of the webserver, mobile phones, personal computers, supercomputers, and cloud-servers are powered by Linux. The job of a Linux systems administrator is to manage the operations of a computer system like maintain, enhance, create user account/report, taking backups using Linux tools and command-line interface tools. Most computing devices are powered by Linux because of its high stability, high security, and open-source environment.

To study and summarize the Linux System Administration in following context:

  • Linux File Systems

Linux file system is built-in layer of a linux operating system helps to arrange the file on the disk storage. It is used to handle the data management of the storage. It also manages the file size, creation date, file name, and much more information about a file. Linux file system has a hierarchal file structure as it contains a root directory and its subdirectories. File system designed in a way so that it can manage and provide space for non-volatile storage data. It also defines the logical structure of files on a memory segment, such as the use of directories for organizing the specific files. Once a namespace is described, a Metadata description must be defined for that particular file.


  • File System Hierarchy

File system hierararchy defines the directory structure and directory contents in linux like operating system. In file system hierarchy all files and directories appears under the root directory, even if theyare stored on different virtual devices.



  • Managing Root/super User

In linux the super user account called root. It also gives access to all commands, files, directories, and resources. Root can also grant and remove any permissions for other users. Root can also grant and remove any permissions for other users. Superuser account privileges may allow:

  1. full read/write/ execute privileges

  2. creating or installing files or software

  3. modifying files and settings

  4. deleting users and data

Command line is something every developer should learn and implement in their daily routine. Below are the some top bash commands:

  • ls — List directory contents

  • echo — Prints text to the terminal window

  • touch — Creates a file

  • mkdir — Create a directory

  • grep — search

  • man — Print manual or get help for a command

  • pwd — Print working directory

  • rmdir — Remove directory

  • locate — Locate a specific file or directory

  • cat — Read a file, create a file, and concatenate files

  • head — Read the start of a file

  • chmod — Sets the file permissions flag on a file or folder

  • exit — Exit out of a directory



Everything on your Linux system is located under the / directory, known as the root directory. You can think of the / directory as being similar to the C:\ directory on Windows – but this isn’t strictly true, as Linux doesn’t have drive letters.

The chown command is used to change the user and/or group ownership of each given file. This allows the user to perform various actions and the details are described below. The common syntax is as follows:



chown [Options] [Owner_Name]:[Group_Name] [File/Folder_Name]



Nadir Ali Kazmi 02-235182-022 System and Networks

Download 316.96 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page