Horje
linux get part of string Code Example
linux get part of string
INPUT='someletters_12345_moreleters.ext'
SUBSTRING=$(echo $INPUT| cut -d'_' -f 2)
echo $SUBSTRING
linux get part of string
b=${a:12:5}
linux get part of string
number=$(echo $filename | egrep -o '[[:digit:]]{5}' | head -n1)




Shell

Related
your system lacks libtoolize Code Example your system lacks libtoolize Code Example
npm Code Example npm Code Example
how to get out of branch git Code Example how to get out of branch git Code Example
converter mp3 para kali linux Code Example converter mp3 para kali linux Code Example
linux local bin add to path Code Example linux local bin add to path Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12