Skip to content

This GitHub repository serves as a comprehensive collection of projects aimed at enhancing your shell scripting skills and command-line proficiency. Each project focuses on specific aspects of shell scripting, including basic commands, file permissions, shell redirections , and variables expansions.

Notifications You must be signed in to change notification settings

IsaMarvin/alx-system_engineering-devops

Repository files navigation

Shell Scripting Repository 🐚

Welcome to the Shell Scripting Repository! 🚀 This repository contains multiple directories, each focusing on different aspects of shell scripting and command-line operations. Each directory represents a project and includes a README file with specific tasks and instructions.

Projects 📁

Here are the projects available in this repository:

This project introduces the basics of shell scripting. It covers various tasks involving directory manipulation, file operations, and executing commands. The tasks are designed to enhance your proficiency in shell scripting and command-line operations.

Tasks in the project include:

  • Printing the absolute path name of the current working directory 📂
  • Displaying the contents list of the current directory 📜
  • Changing the working directory to the user's home directory 🏠
  • and more...

Please refer to the README file inside the directory for detailed instructions and commands to complete each task.

The Shell Permissions project focuses on file permissions and managing them effectively. Through various tasks, you will learn how to work with shell scripts, change file ownership, set permissions, and manage user groups.

Tasks in the project include:

  • Switching the current user to 'betty' 👤
  • Printing the effective username of the current user 👥
  • Changing the owner of the file 'hello' to the user 'betty' 📄
  • and more...

To complete each task, navigate to the 0x01-shell_permissions directory and follow the instructions provided in the README file.

Shell, I/O Redirections and Filters is a project focused on shell scripting and data manipulation in the command line environment. It offers a range of tasks to enhance your skills and familiarity with shell scripting concepts. 📝

Tasks:

  • 1️⃣ Print "Hello, World" to the standard output.
  • 2️⃣ Display a confused smiley "(Ôo)'.
  • ...📖

For detailed instructions and more tasks, please refer to the README file in the project repository. To complete each task, navigate to the 0x02-shell_redirections directory and follow the instructions provided in the README file.

The 0x03-shell_variables_expansions project focuses on shell scripting and variable expansions in the command line environment. It provides a set of tasks to enhance your skills and understanding of shell variables and their usage. Each task has a specific objective and instructions for completion. 📝

Tasks:

  • 0️⃣ Create an alias named 'ls' with the value 'rm *'.
  • 1️⃣ Print "hello user", where 'user' is the current Linux user.
  • 2️⃣ Add '/action' to the PATH, making it the last directory to be searched when looking for a program.
  • 3️⃣ Count the number of directories in the PATH.
  • and more...

To complete each task, navigate to the 0x03-shell_variables_expansions directory and follow the instructions provided in the README file.

Getting Started 🚀

To get started with any project, follow these steps:

Usage Instructions

To get started with any project, follow these steps:

  1. Open your terminal or command prompt.
  2. Clone the repository to your local machine using the command git clone [email protected]:IsaMarvin/alx-system_engineering-devops.git.
  3. Navigate to the corresponding project directory using the cd command.
  4. Inside the project directory, you will find a README file with detailed instructions for each task.
  5. Execute the provided scripts using the appropriate command.
  6. Make sure you have the necessary permissions to execute the scripts. If needed, adjust file permissions using the chmod command.

Feel free to explore the projects at your own pace. If you have any questions or encounter any difficulties, don't hesitate to open an issue issues page.

Happy scripting! 🎉

About

This GitHub repository serves as a comprehensive collection of projects aimed at enhancing your shell scripting skills and command-line proficiency. Each project focuses on specific aspects of shell scripting, including basic commands, file permissions, shell redirections , and variables expansions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages