Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

powershell convert text 20MB to bytes

$str = '3GB'

$int64 = [int64]$str.Replace('GB','') * 1GB
Comment

PREVIOUS NEXT
Code Example
Shell :: delete history linux range 
Shell :: use docker redis remotely 
Shell :: cat stands for in linux 
Shell :: download zip file from onedrive using wget 
Shell :: negative if statement bash 
Shell :: add ssh public key to server 
Shell :: download svn 
Shell :: gen rsa 1024 
Shell :: difference between git remote and git clone 
Shell :: Apache2 Ubuntu Default Page 
Shell :: bash cd || exit 
Shell :: create user in linux 
Shell :: Why double tapping icon doesnt minimize in ubuntu 
Shell :: yum repositories 
Shell :: ansible ad hoc file module 
Shell :: wifi driver 
Shell :: git clone vs add remote 
Shell :: bash function parameter 
Shell :: install pip from tt 
Shell :: check on cmd all installed version 
Shell :: mqtt client ubuntu console 
Shell :: linux split file by lines 
Shell :: ubuntu delete all virtual hosts 
Shell :: openstack show ports 
Shell :: git merge without delete files 
Shell :: branch creation 
Shell :: window reset wifi cmd 
Shell :: regex final word 
Shell :: ionic icon dimensions 
Shell :: how to pass docker hub credentials for k8s pods 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =