Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Linux tutorial

## Basic Commands:

```

s
ls -l
clear
pwd
ls
cd Desktop/
ls
ll
pwd
cd /home/varunmanikoutlo/
pwd
ll
ls -l
ll
ls -la
ls -lar
ls -lart
ls -larth
cd /home/varunmanikoutlo/
pwd
cd Desktop/
cd ../
history
history | cut -c 8-

```
186 changes: 99 additions & 87 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,121 +1,133 @@
# DevOps-Tutorial
DevOps-Tutorial
# Caltech-DevOps Simplilearn PG Program

This repository contains course materials for the Caltech-DevOps Simplilearn Postgraduate Program.
# Linux Basic Commands

## Course Contents
This README file provides a brief introduction to some essential Linux commands for beginners.

1. **Course Introduction**
- Overview of the program
- Objectives and outcomes
## Table of Contents
1. [Navigating the File System](#navigating-the-file-system)
2. [File Management](#file-management)
3. [Directory Management](#directory-management)
4. [Permissions](#permissions)
5. [Viewing File Contents](#viewing-file-contents)
6. [System Information](#system-information)

2. **Basic Linux**
- Introduction to Linux
- File system and basic commands
- Shell scripting
### Navigating the File System

3. **Introduction to DevOps**
- DevOps concepts and principles
- DevOps practices and tools
- To print the current working directory:

4. **Version Control System**
- Introduction to Git
- Git workflow
- Branching and merging strategies
```
pwd
```

5. **CI/CD Pipeline with Jenkins**
- Introduction to Jenkins
- Configuring and managing Jenkins
- Building and deploying pipelines
- To change the current working directory:

6. **Configuration Management with Ansible**
- Introduction to Ansible
- Writing Ansible playbooks
- Ansible roles and best practices
```
cd [directory]
```

7. **Infrastructure as Code with Terraform**
- Introduction to Terraform
- Writing Terraform configurations
- Terraform modules and best practices
- To list the contents of a directory:

8. **Containerization with Docker**
- Introduction to Docker
- Dockerfile and Docker Compose
- Docker networking and storage
```
ls [options] [directory]
```

9. **Container Orchestration with Kubernetes**
- Introduction to Kubernetes
- Kubernetes objects and resources
- Kubernetes networking and storage
### File Management

10. **Continuous Monitoring**
- Introduction to monitoring
- Monitoring tools and techniques
- Integrating monitoring with CI/CD pipelines
- To create a new file:

11. **Centralized Notification System**
- Introduction to centralized notifications
- Notification tools and techniques
- Integrating notifications with CI/CD pipelines
```
touch [file]
```

12. **AWS Cloud**
- Introduction to AWS
- AWS services and best practices
- Deploying and managing applications on AWS
- To copy a file:

13. **Real-Time Project**
- Working with Java, Maven, and Tomcat
- Building a complete CI/CD pipeline
- Applying DevOps principles and practices
```
cp [source] [destination]
```

---------------------------------------------------------------------------------------------------
## How to Use This Repository
- To move a file:

This repository contains course materials, example projects, and code snippets. Use it as a reference while working through the Caltech-DevOps Simplilearn Postgraduate Program.
```
mv [source] [destination]
```

- To remove a file:

```
rm [file]
```

# Getting Started
### Directory Management

To get started, you will need to clone the repository to your local machine. Follow the instructions below:
- To create a new directory:

1. Open a terminal or Git Bash.
2. Navigate to the directory where you want to clone the repository.
3. Run the following command to clone the repository:
```
mkdir [directory]
```

```
git clone [email protected]:manikcloud/devops-project.git
```
- To remove an empty directory:

4. Change into the cloned repository directory:
```
cd devops-project
```
```
rmdir [directory]
```

- To remove a non-empty directory:

You have now successfully cloned the repository to your local machine. You can start working on the project and use Git to track your changes.
```
rm -r [directory]
```

## Contributing to the Project
### Permissions

Before making any changes, create a new branch based on the master branch. This will help keep the master branch clean and make it easier to collaborate with others.
- To change file or directory permissions:

1. Ensure you are in the `devops-project` directory.
2. Run the following command to create a new branch:
```
chmod [permissions] [file or directory]
```

```
git checkout -b your_branch_name
```
3. Make your changes, commit them, and push them to the remote repository:
```
git add .
git commit -m "Your commit message"
git push origin your_branch_name
```
- To change file or directory ownership:

```
chown [owner] [file or directory]
```

### Viewing File Contents

- To display the contents of a file:

When you are ready to merge your changes with the master branch, create a pull request on GitHub. This will allow others to review your changes before merging them.
```
cat [file]
```

Remember to always keep your local repository up to date by fetching and merging changes from the remote repository.
- To display the first few lines of a file:

Happy coding!
```
head [file]
```

- To display the last few lines of a file:

```
tail [file]
```

### System Information

- To display system information:

```
uname -a
```

- To display disk usage:

```
df -h
```

- To display memory usage:

```
free -h
```
```