Skip to content

AashishA11/Scaler-Bash-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaler-Bash-Assignment

Question 1: Log File Analysis

Objective: Analyze a server log file to extract useful statistics and information.

image

Question 2: Extract and Count File Types

Objective: Write a script that counts and lists how many files of each type are present in a given directory.

image

Question 3: Check Service Status

Objective: Develop a script that checks if a specific system service (like Apache or SSH) is running and reports its status.

Execute the following command to run the output:

./question3.sh servicename

Note: Please insert the name of the service whose status you wish to check.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages