Horje
store printed output in variable bash Code Example
save output of command to craible bash
password=$(openssl rand -base64 32)
echo $password
store printed output in variable bash
#For storing and printing output at the same time do following:
OUTPUT=$(ls -1) #First assign output of command execution to a variable 
echo "${OUTPUT}" #Then print out the result in variable into the terminal




Shell

Related
cmd refresh path Code Example cmd refresh path Code Example
laravel create project Code Example laravel create project Code Example
remove ds_store git Code Example remove ds_store git Code Example
git push and pull not asking password Code Example git push and pull not asking password Code Example
clear screen python cmd Code Example clear screen python cmd Code Example

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