Skip to content
LinuxSimply
  • Courses
  • Tutorials
    • Glossary
    • Commands
    • Linux Basics
    • Bash Scripting
    • Ubuntu
    • Networking
    • Bash Programming
    • Linux Applications
    • Miscellaneous
  • Cheat Sheets
  • Forum
  • About

string manipulation

Eval Bash.

How to Use “eval” Command in Bash? [8 Practical Examples]

April 2, 2024March 31, 2024 by Susmit Das Gupta

The eval command is a built-in utility that interprets and executes arguments as shell commands. These commands are stored inside …

Read more

Bash base64 decode.

Encode and Decode with “base64” in Bash [6 Examples]

March 31, 2024March 19, 2024 by Susmit Das Gupta

To encode and decode text files using base64 in Bash, use the following syntaxes: Encode text incorporating pipe command: echo …

Read more

An overview on how to get the first character of string in bash

How to Get the First Character from Bash String? [8 Methods]

March 31, 2024March 14, 2024 by Afia Zahin Oishi

In Bash scripting, extracting or getting the character is important for formatting and analyzing strings such as to validate, parse, …

Read more

An overview on truncate string in bash

How to Truncate String in Bash? [5 Methods]

March 31, 2024March 12, 2024 by Afia Zahin Oishi

Truncate refers to making something shorter. In bash scripting, it means cutting the length or size of an input string …

Read more

An overview on bash trim string in detail

How to Trim String in Bash? [6 Methods]

March 31, 2024February 29, 2024 by Afia Zahin Oishi

In Bash scripting, trimming is the process of removing the whitespaces from the beginning and end of a string. Here, …

Read more

Bash here string.

How to Use “Here String” in Bash? [Basic to Advance]

March 31, 2024February 29, 2024 by Susmit Das Gupta

Here string is a practice to pass a string as input to a command. Here are some syntaxes to use …

Read more

bash format strings

How to Format a String in Bash? [Methods, Examples]

March 31, 2024February 25, 2024 by Afia Zahin Oishi

In bash scripting, string formatting is important for increasing readability and enhancing the presentation. There are different types of formatting …

Read more

Bash string array.

How to Manipulate Bash String Array [5 Ways]

March 31, 2024February 22, 2024 by Susmit Das Gupta

String stores user and system information. An array of strings stores a collection of strings in an array. For manipulating …

Read more

Generate random string bash.

How to Generate a Random String in Bash? [8 Methods]

March 31, 2024February 20, 2024 by Susmit Das Gupta

A random string is a sequence of alphanumeric characters without following any specific pattern. To generate a random string in …

Read more

An overview on bash remove character from string in depth

How to Remove Character from String in Bash? [7+ Methods]

March 31, 2024February 19, 2024 by Afia Zahin Oishi

In bash scripting, Removing characters is important to get rid of unwanted spaces and characters from an input string or …

Read more

Bash string functions.

How to Use String Functions in Bash? [Examples Included]

March 31, 2024February 14, 2024 by Susmit Das Gupta

You can follow these syntaxes to implement string functions in Bash: Declaring String with “declare” Command: declare a="string value" Asking …

Read more

How to Convert Bash String to Uppercase? [7 Methods]

March 31, 2024February 13, 2024 by Afia Zahin Oishi

In bash scripting, converting text to lowercase or uppercase can make it easier to handle the input or output formats …

Read more

An overview on Removing first character from string in bash

How to Remove First Character From Bash String? [7 Methods]

April 2, 2024February 13, 2024 by Afia Zahin Oishi

In bash scripting, removing characters is important for deleting leading spaces, tabs, and unwanted characters from an input text. Removing …

Read more

bash string to int

How to Convert a Bash String to Int? [8 Methods]

March 31, 2024February 11, 2024 by Afia Zahin Oishi

In bash scripting, the conversion of the string is important for arithmetic operations. You can not perform the arithmetic operations …

Read more

Bash remove last character from string.

How to Remove Last Character from Bash String [6 Methods]

March 31, 2024February 10, 2024 by Susmit Das Gupta

A string is a collection of characters including numbers and special characters. In Bash scripting, string manipulation is one of …

Read more

An overview on bash string replace

How to Replace String in Bash? [5 Methods]

March 31, 2024February 6, 2024 by Afia Zahin Oishi

In bash scripting, the replacement of string is important because it allows you to modify a variable and the text …

Read more

An overview of converting bash string to lowercase

How to Convert Bash String to Lowercase? [7 Methods]

March 31, 2024February 1, 2024 by Afia Zahin Oishi

In Bash scripting, case conversion is important for case-sensitive comparison, pattern matching, and file and directory operations. So for an …

Read more

linuxsimply white logo
LinuxSimply serves as an informational
repository about the Linux operating system.

Get In Touch!

Company

  • About Us
  • Contact Us
  • Career
  • All Contributors

Services

  • Pricing
  • System Administration
  • Server Management
  • Bash Automation
card

Resources

  • Courses
  • Help Forum
  • Cheat Sheets
  • Free Downloads
trustpilot logo

Legal Corner

  • Disclaimer
  • Privacy Policy
  • Editorial Policy
  • Terms & Conditions
dmca
LinuxSimply is owned by , an IT & Digital Media Company.

Copyright © 2024 LinuxSimply | All Rights Reserved.