Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Difference Between
4.2k+ articles
Linux-Unix
2.7k+ articles
How To
1.8k+ articles
linux-command
400+ articles
palindrome
310+ articles
Web-scraping
90+ articles
Linux-file-commands
74 articles
Linux-text-processing-commands
31 articles
Linux-Shell-Commands
28 articles
Shell
22 articles
Shell Script
110+ posts
Popular Articles
Recent Articles
Shell Scripting - Functions and it's types
Last Updated: 12 September 2024
Shell scripting is a powerful tool used to automate tasks in Unix-like operating systems. A shell serves as a command-line interpreter, and
...read more
Linux-Unix
Shell Script
Picked
Shell Scripting - Test Command
Last Updated: 25 September 2024
A test command is a command that is used to test the validity of a command. It checks whether the command/expression is true or false. Here,
...read more
Linux-Unix
Shell Script
Picked
Geeks-Premier-League-2022
Geeks Premier League
Bash Script - Difference between Bash Script and Shell Script
Last Updated: 26 March 2025
In computer programming, a script is defined as a sequence of instructions that is executed by another program. A shell is a command-line in
...read more
Difference Between
Linux-Unix
Shell Script
Picked
Bash-Script
Similar Topics
Difference Between
4.2k+ articles
Linux-Unix
2.7k+ articles
How To
1.8k+ articles
linux-command
400+ articles
palindrome
310+ articles
Web-scraping
90+ articles
Linux-file-commands
74+ articles
Linux-text-processing-commands
31+ articles
Linux-Shell-Commands
28+ articles
Shell
22+ articles
Shell Scripting - Define #!/bin/bash
Last Updated: 04 January 2022
A shell provides an interface to connect with the system. When we use an operating system, we indirectly interact with the shell. While usin
...read more
Linux-Unix
Shell Script
Picked
Shell Script to Perform Operations on a File
Last Updated: 12 December 2021
Most of the time, we use shell scripting to interact with the files. Shell scripting offers some operators as well as some commands to check
...read more
Linux-Unix
Shell Script
Picked
Linux-Shell-Commands
Shell Script to Count Lines and Words in a File
Last Updated: 18 May 2021
Linux provides users a great cool feature of the command-line tool along with a graphical user interface where they can perform tasks via ru
...read more
Linux-Unix
Shell Script
Picked
Shell Script to Read Data From a File
Last Updated: 20 April 2021
File reading is quite an important task in a Programmer's life as it makes some tasks quite comfortable and automates certain repetitive and
...read more
Linux-Unix
Shell Script
Picked
Shell Script to Put File in a FTP Server
Last Updated: 09 April 2021
The File Transfer Protocol also called FTP is used to transfer files from client to server and vice-versa. It mainly uses port 21 for commun
...read more
Linux-Unix
Shell Script
Picked
Shell Program to Calculate the Factorial of a Number
Last Updated: 01 September 2021
Here we are going to see to calculate the factorial of a number. Factorial of a non-negative integer is the multiplication of all integers s
...read more
Linux-Unix
Shell Script
Picked
Bash program to check if the Number is a Prime or not
Last Updated: 05 September 2022
Given a number, the task is to find whether the given number is prime or not using Bash Scripting. Examples:Input: N = 43Output: PrimeInput:
...read more
Linux-Unix
Shell Script
Programs for printing different patterns in Bash
Last Updated: 10 June 2022
Given the number N which represents the number of rows and columns, print the different following patterns in Bash.Pattern-1:Input: 6Output:
...read more
Linux-Unix
Shell Script
Bash shell script to find sum of digits
Last Updated: 18 August 2021
Given a number Num, find the sum of digits of the number.Examples:Input : 444Output :sum of digits of 444 is : 12Input :34Output :sum of dig
...read more
Linux-Unix
Shell Script
Sorting an array in Bash using Bubble sort
Last Updated: 25 November 2021
Prerequisite: Bubble SortGiven an array arr sort the array in ascending order using bash scripting.Examples:Input : 9 7 2 5Output :Array in
...read more
Linux-Unix
Shell Script
Array Basics Shell Scripting | Set 2 (Using Loops)
Last Updated: 18 April 2023
It is recommended to go through Array Basics Shell Scripting | Set-1 Introduction Suppose you want to repeat a particular task so many times
...read more
Linux-Unix
Shell Script
Bash program to check if the Number is a Palindrome
Last Updated: 05 September 2022
Given a number num, find whether the given number is palindrome or not using Bash Scripting. Examples:Input : 666Output :Number is palindrom
...read more
palindrome
Linux-Unix
Shell Script
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !