Mastering Shell Scripting: Functions, Exit Codes, and Text Processing with Awk, Grep, and SedFunctions As in other programming languages bash scripts also have support for writing blocks of reusable code that perform a specific task. Writing functions allow you to organize your script into modular sections making it easier to maintain, read ...Nov 26, 2023 · 6 min readsuhail34.hashnode.dev
Getting Started with Shell Scripting: Your First Bash Script, Variables, Control Flow, and Looping TechniquesWhat is Shell? Shell serves as an interface for interacting with the operating system. There are two primary types of shells: 1) Command Line Shell and 2) Graphical Shell. There are various command language interpreters. Some of the well-known ones a...Oct 26, 2023 · 5 min readsuhail34.hashnode.dev
Mastering File Ownership in Linux: Change User Group Ownership, Access Control Lists, and MoreFile Owner Ship Change user ownership of a file To check the owner of the file use command ls -l Here the owner of the file is skna user. Now let's change the owner using the chown command which takes the chown owner_name filename this will change ...Jun 24, 2023 · 2 min readsuhail34.hashnode.dev
Understanding Linux File Permissions: rwx Explained, User Management, and Group ControlFile Permissions : ls -l This command will list all the files and directories at that location with their permissions, link counts, owner, group, size(in bytes), Date and Time of Modification, and name (of the file or directory). Type - It is indi...1SApr 4, 2023 · 5 min readsuhail34.hashnode.dev
Mastering Essential Linux Commands: A Guide to cd, ls, pwd, mkdir, rm, echo and catcd For changing your working Directory. This command is used for changing your working directory. cd Documents/ For navigating to the home directory - Wherever you are in your file system it will bring you to your home directory. cd For n...Dec 27, 2022 · 4 min readsuhail34.hashnode.dev