๐Ÿ”ฅ ๐”๐ง๐ฅ๐ž๐š๐ฌ๐ก ๐˜๐จ๐ฎ๐ซ ๐ƒ๐ž๐ฏ๐Ž๐ฉ๐ฌ ๐๐จ๐ญ๐ž๐ง๐ญ๐ข๐š๐ฅ: ๐„๐ฌ๐ฌ๐ž๐ง๐ญ๐ข๐š๐ฅ ๐‹๐ข๐ง๐ฎ๐ฑ ๐‚๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ ๐Œ๐š๐ฌ๐ญ๐ž๐ซ๐ฒ! ๐๐š๐ซ๐ญ-4๐Ÿš€

Ayush MaggoAyush Maggo
2 min read

Table of contents

Embark on the next phase of advanced Linux command essential for streamlining operations and enhancing productivity. From process management to package updates, dive deep into Linux mastery to accelerate your DevOps journey๐Ÿš€

1. ๐†๐ฅ๐จ๐›๐š๐ฅ ๐‘๐ž๐ ๐ฎ๐ฅ๐š๐ซ ๐„๐ฑ๐ฉ๐ซ๐ž๐ฌ๐ฌ๐ข๐จ๐ง ๐๐ซ๐ข๐ง๐ญ (๐ ๐ซ๐ž๐ฉ):

The '๐ ๐ซ๐ž๐ฉ' command is used to search for matching patterns in a file.

Example:
๐’ˆ๐’“๐’†๐’‘ <๐’‘๐’‚๐’•๐’•๐’†๐’“๐’> <๐’‡๐’Š๐’๐’†_๐’๐’‚๐’Ž๐’†>

2. ๐€๐–๐Š (๐š๐ฐ๐ค):

The '๐š๐ฐ๐ค' command is used for text manipulation and processing.

Example:
๐’‚๐’˜๐’Œ '{๐’‘๐’“๐’Š๐’๐’• $2}' <๐’‡๐’Š๐’๐’†_๐’๐’‚๐’Ž๐’†>

3. ๐’๐ญ๐ซ๐ž๐š๐ฆ ๐„๐๐ข๐ญ๐จ๐ซ (๐ฌ๐ž๐):

The '๐ฌ๐ž๐' command is used to edit files quickly and efficiently. It performs various functions like replacing, adding, deleting, inserting, and finding lines from a specified file without opening the file in a text editor.

Example:
๐’”๐’†๐’… '๐’”/๐’๐’๐’…_๐’•๐’†๐’™๐’•_๐’š๐’๐’– ๐’˜๐’‚๐’๐’•_๐’•๐’_๐’“๐’†๐’‘๐’๐’‚๐’„๐’†/๐’๐’†๐’˜_๐’๐’†๐’˜/๐’ˆ' ๐’‡๐’Š๐’๐’†๐’๐’‚๐’Ž๐’†.๐’•๐’™๐’•

4. ๐๐ซ๐จ๐œ๐ž๐ฌ๐ฌ ๐’๐ญ๐š๐ญ๐ฎ๐ฌ (๐ฉ๐ฌ):

The '๐ฉ๐ฌ' command displays the list of currently running processes in the current session with their PIDs (process identifiers) and some other information.

Example:
๐’‘๐’”

5. ๐๐ซ๐จ๐œ๐ž๐ฌ๐ฌ ๐’๐ญ๐š๐ญ๐ฎ๐ฌ -๐š๐ฎ๐ฑ (๐ฉ๐ฌ -๐š๐ฎ๐ฑ):

The '๐ฉ๐ฌ -๐š๐ฎ๐ฑ' provide a comprehensive list of processes in a user-friendly format, including their process IDs (PIDs), CPU and memory usage, execution states, and other vital details.

Example:
๐’‘๐’” -๐’‚๐’–๐’™

6. ๐‚๐ฅ๐ข๐ž๐ง๐ญ ๐”๐‘๐‹ (๐œ๐ฎ๐ซ๐ฅ):

The '๐œ๐ฎ๐ซ๐ฅ' is a command-line tool that sends or receives data to or from a server using various protocols such as HTTP, HTTPS, FTP, etc.

Example:
๐’„๐’–๐’“๐’ <๐‘ผ๐‘น๐‘ณ>

7. ๐–๐ž๐› ๐ ๐ž๐ญ (๐ฐ๐ ๐ž๐ญ):

The '๐ฐ๐ ๐ž๐ญ' command is used to download the file from the internet, supporting HTTP, HTTPS, and FTP protocols.

Example:
๐’˜๐’ˆ๐’†๐’• <๐‘ผ๐‘น๐‘ณ>

8. ๐€๐๐ฏ๐š๐ง๐œ๐ž๐ ๐๐š๐œ๐ค๐š๐ ๐ข๐ง๐  ๐“๐จ๐จ๐ฅ (๐š๐ฉ๐ญ):

The '๐š๐ฉ๐ญ' is a package manager. It is used for package management in Debian-based distributions such as Ubuntu.

9. ๐€๐๐“ ๐”๐ฉ๐๐š๐ญ๐ž (๐š๐ฉ๐ญ ๐ฎ๐ฉ๐๐š๐ญ๐ž):

The '๐š๐ฉ๐ญ ๐ฎ๐ฉ๐๐š๐ญ๐ž' command is used in Linux-based systems, particularly for Debian or Ubuntu, to update the local package index.

Example:
๐’”๐’–๐’…๐’ ๐’‚๐’‘๐’• ๐’–๐’‘๐’…๐’‚๐’•๐’†

10. ๐€๐๐“ ๐”๐ฉ๐ ๐ซ๐š๐๐ž (๐š๐ฉ๐ญ ๐ฎ๐ฉ๐ ๐ซ๐š๐๐ž):

The '๐š๐ฉ๐ญ ๐ฎ๐ฉ๐ ๐ซ๐š๐๐ž' command is used to update the Linux systems, particularly those based on Ubuntu or Debian, to upgrade installed packages to their latest available versions.

Example:
๐’”๐’–๐’…๐’ ๐’‚๐’‘๐’• ๐’–๐’‘๐’ˆ๐’“๐’‚๐’…๐’†

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐Ÿ๐ข๐ซ๐ฌ๐ญ ๐ฉ๐š๐ซ๐ญ -> https://ayushmaggo.hashnode.dev/1

๐‡๐ž๐ซ๐ž ๐ข๐ฌ ๐ญ๐ก๐ž ๐ฌ๐ž๐œ๐จ๐ง๐ ๐ฉ๐š๐ซ๐ญ -> https://ayushmaggo.hashnode.dev/2

Here is the third part -> https://ayushmaggo.hashnode.dev/3

Thank you for reading this blog, and I hope you found it informative. If you found this blog helpful, please like, share, and follow me for more blog posts like this in the future.

--Happy learning!!!

0
Subscribe to my newsletter

Read articles from Ayush Maggo directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ayush Maggo
Ayush Maggo

As a devops engineer with 3 years of experience, my work involves deploying and managing scalable cloud infrastructure on AWS, utilizing Kubernetes for container orchestration, and automating CI/CD pipelines with Jenkins, while integrating DevSecOps practices for secure and compliant infrastructure. I Implement Infrastructure as Code (IaC) with Terraform to ensure efficient, reproducible, and version-controlled infrastructure management. Leveraging Docker to ensure consistent application environments across development, testing, and production, and monitor system performance with Prometheus and Grafana. Focused on driving continuous improvement, enhancing system reliability, and delivering robust solutions that align with business objectives and drive digital transformation.