Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ascii to binary in bash

$ echo AB | perl -lpe '$_=join " ", unpack"(B8)*"'
01000001 01000010
$ echo 01000001 01000010 | perl -lape '$_=pack"(B8)*",@F'
AB
Comment

PREVIOUS NEXT
Code Example
Shell :: pytest debug tests 
Shell :: how to permanently install wifi drivers realtek 8723de in ubuntu 18.04 
Shell :: how to execute an sh file in linux 
Shell :: realtek 
Shell :: install pup command mac 
Shell :: how to push in git 
Shell :: git stash 
Shell :: symfony skeleton version 
Shell :: aws secrets manager get password 
Shell :: cli50 documentation 
Shell :: Docker show currently running containers 
Shell :: grep exclude multi dirs 
Shell :: ubuntu install safari browser terminal 
Shell :: vi replace 
Shell :: python zlib 
Shell :: force ssh to use password 
Shell :: does Ubuntu MATE have ssh 
Shell :: docker-compose.yml ubuntu 
Shell :: how can I check memory usage in linux? 
Shell :: get container config docker 
Shell :: linux chown 
Shell :: vue import yaml 
Shell :: install 
Shell :: set alias for directory in powershell 
Shell :: git flow 
Shell :: rmdir unix 
Shell :: installing maven using brew 
Shell :: scaffold controller ef core 
Shell :: boot linux from dos 
Shell :: sed insert multiple lines after match 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =