🌱 Digital garden
More
Search
Ctrl + K
Unix
Notes
Find and replace text within a file
Copy
echo
"Current shell: <SHELL>"
|
awk
-v
VAR=
$SHELL
'{gsub(/<SHELL>/, VAR)}1'
Links
Previous
Operating system
Next
Linux
Last updated
3 years ago