Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash script to replace hyphen with underscore

#!/bin/bash

echo "$1" | tr '-' '_'
#or
ls | tr '-' '_'
Comment

PREVIOUS NEXT
Code Example
Shell :: install ros numpy 
Shell :: add a colored code section in gitlab review 
Shell :: zram raspberry pi 
Shell :: git push origin deatched hhead 
Shell :: android studio add flutter plugin 
Shell :: alternative echo linux 
Shell :: Collaborators access SSH new project Github 
Shell :: Ubuntu Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 15551 (apt) 
Shell :: ssh keep connection 
Shell :: Set Up Imagick 
Shell :: printing from command line filters pipelines 
Shell :: melpa .tar not found emacs 
Shell :: Install aaPanel linux 
Shell :: How do I fix issue "E: some index files fail to download.They have been ignored or old ones are used instead" while apt-get update 
Shell :: chmod root to user 
Shell :: how to detach from screen session linux 
Shell :: sed variable instead of file 
Shell :: where to export wsl AppData 
Shell :: nginx dompdf error 
Shell :: docker mongo tutorial 
Shell :: Command to install parse-url module 
Shell :: Navigate to previous directory in windows command prompt 
Shell :: git find commit by message 
Shell :: install protobuf windows 
Shell :: setup mongodb locally on centos 8 
Shell :: get name of files in directory 
Shell :: Git - add all changes files at same time for commit 
Shell :: install postman arch linux 
Shell :: Instal helm ubuntu linux 
Shell :: how to validate a mobile number in shell script 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =