An open API service indexing awesome lists of open source software.

https://github.com/akarshjha03/kernelquest

This repository contains thirteen practical exercises for mastering shell scripting, covering basic Linux commands, arithmetic operations, string manipulation, array handling, file checks, and process management.
https://github.com/akarshjha03/kernelquest

Last synced: 9 months ago
JSON representation

This repository contains thirteen practical exercises for mastering shell scripting, covering basic Linux commands, arithmetic operations, string manipulation, array handling, file checks, and process management.

Awesome Lists containing this project

README

          

# Shell-Scripting-Practicals

This repository contains ten practical exercises & more, designed to help you master shell scripting and Linux command usage. Each practical covers a different aspect of shell scripting, from basic commands to advanced process management techniques. Ideal for computer science students and professionals looking to deepen their knowledge of shell scripting and Linux-based systems.

## Technologies used









## Practical Exercises

1. **Study of Basic Commands of Linux**
- Learn the essential Linux commands for navigating and managing files and directories.

2. **Basics of Shell Programming**
- Adding two numbers.
- Swapping two variables without using a third variable.
- Calculating the average of three numbers.
- Validating an entered date.
- Calculating the factorial of a number.

3. **String and Array Operations**
- Checking if an entered string is a palindrome.
- Printing elements of an array.

4. **Command Line Argument Handling**
- Finding the biggest number from three given numbers.

5. **Printing Patterns**
- Writing a shell script to print a pyramid.

6. **File Operations and Number Printing**
- Checking if a given file exists.
- Printing even numbers up to a user-specified number.

## How to Use

1. Clone the repository to your local machine:
```sh
git clone https://github.com/yourusername/Shell-Scripting-Practicals.git
```

2. Navigate to the repository directory:
```sh
cd Shell-Scripting-Practicals
```

3. Explore each practical exercise in its respective folder.

4. Run the shell scripts using the terminal:
```sh
./scriptname.sh
```

## Requirements

- A Linux-based operating system or a Linux virtual environment.
- Basic knowledge of Linux commands and shell scripting.

## Contributing

Feel free to fork this repository, make improvements, and submit pull requests. Contributions and suggestions are welcome!

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- Thanks to the open-source community for the invaluable resources and support.