What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-22 03:20:11
${a,}: bad substitution
var=hello #For Bash Version higher than 4.3.33 try these echo ${var''} #Uppercase whole string HELLO echo ${var'} #Uppercase only first char of string Hello var2=BYE echo ${var2,} #Lowercase whole string bye echo ${var2,,} #Lowercase only first char of st... Add solution -
Shell/Bash 2021-10-28 06:01:14
how to install winetricks
#!/bin/sh # Create and switch to a temporary directory writeable by current user. See: # https://www.tldp.org/LDP/abs/html/subshells.html cd "$(mktemp -d)" || exit 1 # Use a BASH "here document" to create an updater shell script fil... Add solution -
Shell/Bash 2021-08-31 10:52:02
linux set env permanent
# for bash Bash as login shell will load /etc/profile, ~/.bash_profile, ~/.bash_login, ~/.profile in the order Bash as non-login interactive shell will load ~/.bashrc Bash as non-login non-interactive shell will load the configuration specified in environ... Add solution