Bhavya SachdevaforKubesimplifykubesimplify.hashnode.net·Dec 21, 2022Automate repetitive tasks - Shell ScriptingIntroduction to Shell In simple terms, a shell is an interface that accepts user input in the form of commands and passes it on to an operating system and gives output.It is a medium between the user and the operating system to communicate with each ...128 likes·3.9K readsshell
Adrienne Tackeadriennetacke.hashnode.net·Feb 12, 2021FeaturedTerminal, Console, CLI, shell... Aren't they all the same thing?Terminal, Console, CLI, shell... Aren't they all the same thing? Yes and no (although, in the present day, we do use them interchangeably with the confidence that the other person knows what we're talking about)! I get these terms mixed up quite a bi...123 likes·1.3K readsBeginner Developers
Siddharth Chandracodekaro.hashnode.net·Apr 26, 2021Shell Script BasicsThe best thing about GNU/Linux is that it’s packed with utilities that improve productivity immensely. One such utility is a shell that can help accomplish complex tasks with just a few sequences of commands. Most of the time, users operate shell in ...118 likes·238 readsshell
Pranav Jambarelearnshellscriptwithpra9.hashnode.net·Apr 24, 2023Basic Of Shell Scripting -Part 5Pattern Search & Processing Commands : There are multiple pattern search commands which help us for getting exact data from huge data. There are multiple commands which help the script to get output effectively. awk sed grep sort diff AWK:Awk ...31 readsshell
Amrendra Pratap Singh Rathoreamrendra0918.hashnode.net·Apr 23, 2023Advanced Linux Shell Scripting for DevOps Engineers with User ManagementScript 1: Shell script to create multiple directories with dynamic names: Let's write a bash script with three given arguments (one is "the directory name", the second is "the start number of directories" and the third is "the end number of directori...38 readsDevops
Pranav Jambarelearnshellscriptwithpra9.hashnode.net·Apr 23, 2023Basic Of Shell Scripting -Part 4Case Statements in Shell Script: You can use multiple if...elif statements to perform a multiway branch. However, this is not always the best solution, especially when all of the branches depend on the value of a single variable. Shell supports case....33 readsLinux
Nafs Ahmadnafs.hashnode.net·Apr 22, 2023Shell, BasicsWhat is the shell? A shell is a program that accepts what a user types (commands) on the command line interface(CLI) and translates those commands into actions to be performed by the operating system. The shell acts as an interpreter that takes human...shell
Mohammed Muqaffamuddinmuqafam.hashnode.net·Apr 22, 2023Day 6 Task: File Permissions and Access Control ListsCreate a simple file and do ls -ltr to see the details of the files refer to Notes As a task, change the user permissions of the file and note the changes after ls -ltr Output: First, it was read and write then we changed it to read, write an...shell
Pranav Jambarelearnshellscriptwithpra9.hashnode.net·Apr 22, 2023Basic Of Shell Scripting -Part 3Loops In Shell Script A bash for loop is a bash programming language statement that allows code to be repeatedly executed. It is the repetition of a process within a bash script.Example.you can run the UNIX command or task 5 times or read and process...56 readsLinux
Shifa Syedshifa-syed.hashnode.net·Apr 21, 2023Basic Linux Shell Scripting for DevOps EngineersWhat is Kernel? The kernel is a computer program that is the core of a computer’s operating system, with complete control over everything in the system. What is Shell? A shell is a special user program that provides an interface for users to use oper...shell
Pranav Jambarelearnshellscriptwithpra9.hashnode.net·Apr 21, 2023Basic Of Shell Scripting -Part 2If Statement:We use the "if statement" for checking the condition. If we have multiple conditions we can also use multiple "if statements".Syntax: if [ expression ] then statement fi Example For If Statement: #!/bin/bash a=5 b=30 if [ $a -lt $b ...67 readsshell
Atiq Khanatiq2288.hashnode.net·Apr 20, 2023Day 5 Task: Advanced Linux Shell Scripting for DevOps Engineers with User management#90DaysofDevops Challenge Write a bash script create_directories.sh that when the script is executed with three given arguments (one is the directory name and second is the start number of directories and the third is the end number of directories )...Devops
Vivek Patilvivek4440.hashnode.net·Apr 18, 2023Basics of Shell ScriptingLet’s understand the shell structure and shell scripting. We will consider that you have some basic knowledge regarding Linux but if you don't, we have covered mostly used basic commands. What is shell? A Shell provides you with an interface to the U...1 like·34 readsshell script