The Baeldung logo
  • The Baeldung LogoLinux Sublogo
  • Start Here
  • About ▼▲
    • Full Archive

      The high level overview of all the articles on the site.

    • About Baeldung

      About Baeldung.

Scripting » Shell

Scripting allows us to programmatically interact with the Linux operating system. Learn about some basic scripting fundamentals as well as some advanced topics focused on Bash.

  • bash (129)
  • awk (65)
  • sed (48)
  • echo (35)
  • x Shell (31)
  • grep (28)
  • printf (19)
  • perl (16)
  • read (13)
  • date (12)
  • tr (12)
  • find (11)
  • xargs (11)
  • cat (11)
  • set (10)
  • Python (10)
  • export (9)
  • regex (9)
  • source (8)
  • cut (8)
  • ls (8)
  • alias (8)
  • tail (7)
  • script (7)
  • curl (7)
  • tee (7)
  • copy-edit (7)
  • env (6)
  • eval (5)
  • ping (5)
  • cd (5)
  • tar (5)
  • expr (5)
  • vim (5)
  • sort (5)
  • cron (5)
  • watch (5)
  • expect (5)
  • ssh (5)
  • pushd (4)
  • JSON (4)
  • rsync (4)
  • nohup (4)
  • time (4)
  • vi (4)
  • wait (4)
  • sudo (4)
  • let (4)
  • csv (3)
  • mysql (3)
  • pdf (3)
  • ImageMagick (3)
  • Docker (3)
  • cp (3)
  • ps (3)
  • make (3)
  • chmod (3)
  • pgrep (3)
  • readlink (3)
  • exit (3)
  • reference (3)
  • wget (3)
  • paste (3)

>> Is It Possible to Undo a Command in Shell?

>> Why Are There Multiple Shell Prompts?

>> Convert Timespan in Seconds to Formatted Time in the Shell

>> How to List Available Shells on a Linux Machine

>> Insert Newline in Shell Command

>> Meta Keys and Key Processing Priority in the Shell and Terminal

>> The Backslash and Removing Backslashes From a Text File or String

>> The Ease of Manual UNIX Timestamp Arithmetic in the Shell

>> How to Properly Format the Source of a Shell Script

>> How to Operate on Files Listed in a File

>> The Shell Prompt and How to Correct for Missing Newlines

>> Solving the Error “sh: 0: getcwd() failed: No such file or directory”

>> Remove All Comments From a Bash Script in the Shell

>> HTML Parsing for Extracting Text Between HTML Tags in the Shell

>> Zero Padding in the Shell

>> How to Execute a Shell Script When a USB Device Is Plugged

>> What’s the Meaning of $! in Bash Scripting

>> Store Paths and Change Directory With a Variable in the Shell

>> Storing the Output of watch to a File

>> How to Do Nothing for an Indefinite Amount of Time in Shell

>> Read a WebSocket Response in Linux Shell

>> How to Extract the Base Filename From a URL in Shell

>> What’s the Difference Between bash script.sh and ./script.sh

>> Parsing, Validating, and Printing JSON in Shell Scripts

>> Shell Auto Completion in Linux

>> How to Iterate Over a List of Strings in a Shell Script

>> Replacing Specific Line With a String Variable in Shell

>> Check Whether a MySQL Database Exists Using Shell

>> Printing ASCII Art in the Shell

>> Linux Shells Performance: dash vs bash

>> Delete an Exported Environment Variable in Shell

  • ↑ Back to Top
The Baeldung logo

Categories

  • Administration
  • Files
  • Filesystems
  • Installation
  • Networking
  • Processes
  • Scripting
  • Search
  • Security
  • Web

Series

  • Linux Administration
  • Linux Files
  • Linux Processes

About

  • About Baeldung
  • The Full Archive
  • Editors
  • Terms of Service
  • Privacy Policy
  • Company Info
  • Contact
The Baeldung Logo