From eac36437d99f2562b83596dbb191acf9d4a7de8d Mon Sep 17 00:00:00 2001 From: varun Date: Sat, 22 Apr 2023 13:03:38 +0800 Subject: [PATCH 1/2] readme-linux --- README.md | 149 +++++++++++------------------------------------------- 1 file changed, 30 insertions(+), 119 deletions(-) diff --git a/README.md b/README.md index d75f935..92667c7 100644 --- a/README.md +++ b/README.md @@ -1,121 +1,32 @@ -# DevOps-Tutorial -DevOps-Tutorial -# Caltech-DevOps Simplilearn PG Program +# 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- -This repository contains course materials for the Caltech-DevOps Simplilearn Postgraduate Program. - -## Course Contents - -1. **Course Introduction** - - Overview of the program - - Objectives and outcomes - -2. **Basic Linux** - - Introduction to Linux - - File system and basic commands - - Shell scripting - -3. **Introduction to DevOps** - - DevOps concepts and principles - - DevOps practices and tools - -4. **Version Control System** - - Introduction to Git - - Git workflow - - Branching and merging strategies - -5. **CI/CD Pipeline with Jenkins** - - Introduction to Jenkins - - Configuring and managing Jenkins - - Building and deploying pipelines - -6. **Configuration Management with Ansible** - - Introduction to Ansible - - Writing Ansible playbooks - - Ansible roles and best practices - -7. **Infrastructure as Code with Terraform** - - Introduction to Terraform - - Writing Terraform configurations - - Terraform modules and best practices - -8. **Containerization with Docker** - - Introduction to Docker - - Dockerfile and Docker Compose - - Docker networking and storage - -9. **Container Orchestration with Kubernetes** - - Introduction to Kubernetes - - Kubernetes objects and resources - - Kubernetes networking and storage - -10. **Continuous Monitoring** - - Introduction to monitoring - - Monitoring tools and techniques - - Integrating monitoring with CI/CD pipelines - -11. **Centralized Notification System** - - Introduction to centralized notifications - - Notification tools and techniques - - Integrating notifications with CI/CD pipelines - -12. **AWS Cloud** - - Introduction to AWS - - AWS services and best practices - - Deploying and managing applications on AWS - -13. **Real-Time Project** - - Working with Java, Maven, and Tomcat - - Building a complete CI/CD pipeline - - Applying DevOps principles and practices - ---------------------------------------------------------------------------------------------------- -## How to Use This Repository - -This repository contains course materials, example projects, and code snippets. Use it as a reference while working through the Caltech-DevOps Simplilearn Postgraduate Program. - - - -# Getting Started - -To get started, you will need to clone the repository to your local machine. Follow the instructions below: - -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: - -``` -git clone git@github.com:manikcloud/devops-project.git -``` - -4. Change into the cloned repository directory: -``` -cd devops-project -``` - - -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. - -## Contributing to the Project - -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. - -1. Ensure you are in the `devops-project` directory. -2. Run the following command to create a new branch: - -``` -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 -``` - - -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. - -Remember to always keep your local repository up to date by fetching and merging changes from the remote repository. - -Happy coding! From da15adcf00aea7196ef8e04a88e316cca9d4359d Mon Sep 17 00:00:00 2001 From: varun Date: Sun, 23 Apr 2023 10:47:59 +0800 Subject: [PATCH 2/2] readme linux command --- History.txt | 32 +++++++++++ README.md | 155 +++++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 160 insertions(+), 27 deletions(-) create mode 100644 History.txt diff --git a/History.txt b/History.txt new file mode 100644 index 0000000..92667c7 --- /dev/null +++ b/History.txt @@ -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- + +``` diff --git a/README.md b/README.md index 92667c7..265bdaf 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,133 @@ -# Linux tutorial -## Basic Commands: +# Linux Basic Commands -``` +This README file provides a brief introduction to some essential Linux commands for beginners. + +## 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) + +### Navigating the File System + +- To print the current working directory: + + ``` + pwd + ``` + +- To change the current working directory: + + ``` + cd [directory] + ``` + +- To list the contents of a directory: + + ``` + ls [options] [directory] + ``` + +### File Management + +- To create a new file: + + ``` + touch [file] + ``` + +- To copy a file: + + ``` + cp [source] [destination] + ``` + +- To move a file: + + ``` + mv [source] [destination] + ``` + +- To remove a file: + + ``` + rm [file] + ``` + +### Directory Management + +- To create a new directory: + + ``` + mkdir [directory] + ``` + +- To remove an empty directory: + + ``` + rmdir [directory] + ``` + +- To remove a non-empty directory: + + ``` + rm -r [directory] + ``` + +### Permissions + +- To change file or directory permissions: + + ``` + chmod [permissions] [file or directory] + ``` + +- To change file or directory ownership: + + ``` + chown [owner] [file or directory] + ``` + +### Viewing File Contents + +- To display the contents of a file: + + ``` + cat [file] + ``` + +- To display the first few lines of a file: + + ``` + 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 + ``` -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- +- To display memory usage: + ``` + free -h + ``` ```