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 » printf

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 (130)
  • awk (65)
  • sed (48)
  • echo (35)
  • Shell (31)
  • grep (28)
  • x printf (19)
  • perl (16)
  • date (13)
  • read (13)
  • 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)

>> Generating a List of Dates in a Range in Bash

>> Insert Newline in Shell Command

>> Zero NULL Character and Typing or Inserting NULL in the Terminal

>> How to Output Comma-Separated Strings Using Bash Brace Expansion

>> Print a Range of Numbers from the Linux Command Line

>> Check if a Bash Array Contains a Value

>> Zero Padding in the Shell

>> How to Convert Binary to Hex and Decimal in the Shell

>> Printing awk Output in the Same Line

>> Print Decimal as ASCII Using the Shell

>> PC Speaker Beep in Linux

>> How to Make Output Overwrite the Same Line in a Terminal

>> Inserting a Newline in a Variable in Bash

>> Division with Variables in a Linux Shell

>> How to Write Bash Variable Contents to a File

>> Convert Hex to ASCII Characters in the Linux Shell

>> Using printf and echo in Linux

>> How to Insert a New Line Character in Linux Shell Script Output

>> How To Write a Bash Script That Answers Interactive Prompts

  • ↑ 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