Learn ReactJS & React Native With Me
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact
  • Facebook
  • Twitter
  • LinkedIn
  • Email
Learn ReactJS & React Native With Me

Code, Bugs, Pitfalls, Tricks of React Js & React Native

  • Home
  • React Native Series
  • React Js
  • Write for us
  • Animal Welfare
  • About Me
  • Contact

Browsing Tag

bash

37 posts

urldecode using bash script with live demo – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you the bash script code to urldecode. This code can decode the percent encoded string like decodeURIComponent() function in javascript. Code Example – Not…
View Post

urlencode using bash script with live demo – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you bash script code to urlencode. This code will percent encode the string like `encodeURIComponent()` function in javascript. Code Example – Not only urls,…
View Post

Remove substring from end of string using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
This article will provide you a bash script code to remove substring from end of string. This code will only remove the substring pattern if it appears at the very…
View Post

Remove substring if string starts with it using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
Let’s see the bash script code example to remove substring from a string if that substring appears in the beginning of the string. It is different from first occurrence as…
View Post

Remove 1st occurrence of substring in string bash script – Code Example

  • Akash Mittal
  • September 5, 2022
Get bash script code example to remove first occurrence of substring from string. You can match through a normal substring or a regex. Code Example – 1. Function – 2.…
View Post

Remove substrings from string using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you the bash script code to remove all matching substrings from the provided string. You can use regex or simple string pattern as matching…
View Post

Remove quotes from string using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article I will provide you bash script code to remove quotes from string. This code will remove both single ‘ and double ” quotes. It’s ready to use…
View Post

Reverse each character case using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article I will provide you the code to reverse each character case in a string using bash script. Convert from uppercase to lowercase and vice versa. This code…
View Post

String to Uppercase using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article I will provide you code to convert your strings to all caps or uppercase using bash script. All caps strings are use in headings, titles, banners, posters…
View Post

String to lowercase using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article I will provide you the bash script code to convert your strings to all lowercase. We require this functionality a lot like when storing usernames, emails, url…
View Post

Split a string using bash script – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you bash script code to split a string using a delimiter. You can use this code as it is in your existing projects. Common…
View Post

Getting input from terminal using bash script – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will provide you bash script code for getting input from terminal. We will use read command to read the value provided by user. Code Example –…
View Post

Remove extra spaces from string everywhere bash – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you bash script code to remove all the extra white spaces in the string at any location. This will sanitize the provided string completely.…
View Post

Trim start & end white spaces in string bash – Code Example

  • Akash Mittal
  • September 5, 2022
In this article we will provide you code to trim white spaces in string from start & end using bash commands. You can use this code to sanitize strings received…
View Post

Find all text files in multiple directory ubuntu windows – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will show you the code to find all the text files in multiple directories in ubuntu and windows. You can use the same for macos too.…
View Post

Create multiple nested directories ubuntu windows – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will provide you the code for creating multiple nested directories on ubuntu, windows, macos and other linux or unix based operating systems. on windows, we can…
View Post

Clear Ubuntu terminal or WSL without clearing history – Code Example

  • Akash Mittal
  • August 30, 2022
In this article we will provide your code for clearing Ubuntu terminal or WSL windows command line without clearing history. Use clear command with -x attribute. Note: Remember to use…
View Post

Posts navigation

Previous 1 2

Learn ReactJS & React Native With Me
Copyright AkashMittal.com | Privacy Policy