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.
- Host: GitHub
- URL: https://github.com/akarshjha03/kernelquest
- Owner: Akarshjha03
- License: other
- Created: 2024-06-27T15:25:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T18:20:55.000Z (over 1 year ago)
- Last Synced: 2025-02-15T19:48:29.818Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 60.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.