Linux assignment List
Linux -Day-1
### Project: Basic Linux- Command Line Practice
`clear` - Clear the Terminal Screen
`pwd` - Print Working Directory
`cd ..` - Change to Parent Directory
`cd ~` - Change to Home Directory
`mkdir` - Make a New Directory
`ls` - List Directory Contents
`cd` - Change to a Specific Directory
`echo` - Display a Line of Text
`cat` - Concatenate and Display File Content
`cp` - Copy Files and Directories
`mv` - Move or Rename Files and Directories
`rm` - Remove Files or Directories
`rm -rf` - Remove Files or Directories Forcefully
`uname -a` - Display System Information
`/etc/os-release` - Display Operating System Information
`lscpu` - Display CPU Information
`lsmemory` - Display Memory Information
File System Basics
User Management Basics
Absolute Path vs. Relative Path
Difference Between Root User and Normal User
`sudo su -` - Switch to Root User
### Project: Managing Software Packages with YUM and Git
Update System Packages:
Install Git:
Verify Installation:
Remove Git:
Reinstall Git:
Enable and Configure a YUM Repository:
List Installed Packages:
Search for Packages:
Get Package Information:
Linux-Day-2
### Project: Managing Users and Groups in Linux
Add a New User
set password to New User
Check the User in the `/etc/passwd` File
Check the Group of a User (`tom`)
Add a New Group
Change the Primary Group of the User
Check the Group File (`/etc/group`)
Delete the Group and Check
Add User to Another Group
Remove User from a Secondary Group
Check the Groups of the Current User and Other Users
### Project: User, Group, File, and Folder Management with Permissions in Linux
Create Users and Groups
Create a File and Folder, and List Permissions, Owners, and Groups
Explain the Permissions of the File and Folder
Give an Example Where Other Users Cannot Edit the File
Change Permission to Allow Others to Edit the File and Check the Permissions
Give an Example Where Others Can Edit the File
Provide Execute Permission to the File
Remove Previous Permissions Given to the File
Assign and Remove Permissions for the Folder
Assign and Remove Permissions Using the Numeric Method
Change the Owner, Group, and Both Owner and Group of the File
### Project: Working with Piping, Redirection, and Search in Linux
### Project: Install and Setting Up an HTTP Server on EC2 with `httpd`
Linux-Day-3
### Basic Concepts of UNIX Shell Scripting
What is a Shell?
Writing Your First Shell Script
Variables in Shell Scripting
Comments in Shell Scripts
Conditional Statements
Loops in Shell Scripts
Functions in Shell Scripts
Input/Output in Shell Script
- Reading User Input
- Redirecting Output:
Script Arguments
Exit Status