Day 13 | Linux Shell Script Beginner to Expert Course | Getting User Input | Watch Now 🔥🔥🔥

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024

Комментарии • 17

  • @mani0863
    @mani0863 4 месяца назад

    Really enjoying the insights and knowledge you're sharing

  • @deepnarayanbanerjee4348
    @deepnarayanbanerjee4348 4 месяца назад

    Glad I found your channel, it's a gem sir thanks

  • @Dineshsa-wb9eq
    @Dineshsa-wb9eq 2 месяца назад

    Good explanation

  • @MHb789
    @MHb789 3 месяца назад

    Sir do you plan to do zero to hero devops or cloud engineering course?

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  3 месяца назад

      I'll be publishing it on my channel soon. I've already covered a lot of Linux content, and now I'm shifting focus to AWS and then onto DevOps.
      Thanks and welcome...keep Watching ...Don't forgot to LIKE , SHARE and tell other to SUBSCRIBE the channel. 😊 God Bless you.

  • @rajasekhary7830
    @rajasekhary7830 4 месяца назад

    Plz

  • @rajasekhary7830
    @rajasekhary7830 4 месяца назад

    Hi sir can you share patching commands

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  4 месяца назад

      Which ones?

    • @rajasekhary7830
      @rajasekhary7830 4 месяца назад

      @@EngrAbhishekRoshan security and valnarbulity patching commands in linux

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  4 месяца назад

      1. Package Management Commands:
      Update Package Lists: sudo apt update (for Debian-based systems like Ubuntu) or sudo yum check-update (for Red Hat-based systems like CentOS).
      Upgrade Installed Packages: sudo apt upgrade or sudo yum upgrade.
      2. Specific Package Updates:
      Update a Specific Package: sudo apt install --only-upgrade or sudo yum update .
      3. Security Scanning and Vulnerability Assessment:
      ClamAV (Antivirus): sudo apt install clamav (for installation) and clamscan -r /path/to/directory (for scanning).
      OpenVAS (Open Vulnerability Assessment System): Various commands for setup and scanning.
      4. Firewall Configuration:
      iptables (Legacy): Commands for configuring rules to filter network traffic.
      ufw (Uncomplicated Firewall): sudo ufw enable (to enable the firewall) and sudo ufw status verbose (to check status and rules).
      5. SELinux (Security-Enhanced Linux):
      Enable/Disable SELinux: sudo setenforce 1 (to enable) or sudo setenforce 0 (to disable).
      Check SELinux Status: sestatus.
      6. File Permissions and Ownership:
      Change File Ownership: sudo chown :
      Change File Permissions: sudo chmod
      7. Security Updates:
      Automatic Updates: Configuring tools like unattended-upgrades for automatic updates.
      8. System Integrity Checks:
      Tripwire: Commands for integrity checking and monitoring file changes.
      9. Audit Logging:
      Configure Auditd: Setting up and managing audit rules with auditctl.
      10. Kernel Updates:
      Check Kernel Version: uname -r
      Update Kernel: Depending on the distribution, commands may vary, like sudo apt install linux-generic or sudo yum update kernel.

    • @rajasekhary7830
      @rajasekhary7830 4 месяца назад

      @@EngrAbhishekRoshan tq sir

  • @vishalliverpool2660
    @vishalliverpool2660 4 месяца назад

    Shell is outaded. Go with python

    • @EngrAbhishekRoshan
      @EngrAbhishekRoshan  4 месяца назад +2

      While Python undoubtedly offers extensive capabilities for scripting and automation, dismissing shell scripting as outdated overlooks its enduring significance and unique strengths in certain contexts. Shell scripting remains integral for several reasons:
      1. Accessibility and Portability: Shell scripts are lightweight and execute directly in the command-line interface, making them highly portable across different operating systems. They're readily accessible and don't require additional installations or dependencies, unlike Python scripts which may need specific interpreters or libraries.
      2. Integration with System Utilities: Shell scripting seamlessly integrates with system utilities and commands, enabling efficient management of file systems, processes, and networking tasks. It provides direct access to a plethora of powerful command-line tools and utilities that are indispensable in system administration, DevOps, and automation workflows.
      3. Rapid Prototyping and Glue Code: For quick tasks, one-liners, or prototyping, shell scripting often proves more concise and efficient than writing equivalent Python code. Its syntax is optimized for interacting with the shell environment, facilitating rapid development and execution of commands and pipelines.
      4. Legacy Systems and Compatibility: In environments where legacy systems or restricted resources are prevalent, shell scripting remains a preferred choice due to its minimal resource requirements and broad compatibility with older platforms. Migrating existing shell scripts to Python may not always be feasible or practical, especially in large-scale enterprise environments.
      5. Specialized Use Cases: Certain tasks, such as complex text processing, pattern matching, and system-level operations, are inherently suited to shell scripting. While Python excels in many areas, it may not always be the most efficient or appropriate tool for these specific use cases.
      Acknowledging the strengths of both shell scripting and Python allows us to leverage the right tool for the job based on the requirements, constraints, and preferences of the task at hand. Rather than viewing them as mutually exclusive, embracing both enables a more versatile and comprehensive approach to scripting and automation.
      In conclusion, while Python offers considerable advantages in many scenarios, shell scripting remains a vital component of a developer's toolkit, providing unique capabilities and efficiencies that complement Python's versatility.