Programming Language
Abap
ActionScript
Assembly
BASIC
C
C#
C++
Clojure
Cobol
CSS
Dart
Delphi
Elixir
Erlang
F#
Fortran
Go
Groovy
Haskell
Html
Java
Javascript
Julia
Kotlin
Lisp
Lua
Matlab
Objective-C
Pascal
Perl
PHP
Prolog
Python
R
Ruby
Rust
Scala
Scheme
Shell/Bash
SQL
Swift
TypeScript
VBA
Framework
AngularJS
Backbone
Bootstrap CSS
Bootstrap Javascript
Bulma
CakePHP
CodeIgniter
Django
Drupal
Ember
Express
Flask
Flutter
Foundation
Ionic
jQuery
Laravel
Materialize
Next.js
Node.js
Nuxt.js
React
Semantic UI
Spring
Symfony
Unity
Vaadin
Vue
Wordpress
Yii
Zend
Categories
Tags
Command-substitution
New post in Command-substitution
Why there is such a difference in execution time of echo and cat?
September 18th, 2022
quoting
cat
echo
shell
command-substitution
Trapping errors in command substitution using "-o errtrace" (ie set -E)
September 18th, 2022
command-substitution
bash
What's the right way to quote $(command $arg)?
September 18th, 2022
command-substitution
bash
quoting
grep files from list
September 18th, 2022
grep
command-substitution
process-substitution
bash
Zsh: export: not valid in this context
September 18th, 2022
assignment
environment-variables
zsh
command-substitution
How to preserve the newline character (\n) when capture output of a command in a variable
September 18th, 2022
newlines
bash
command-substitution
shell
Nested quotes in subshells
September 18th, 2022
command-substitution
quoting
bash
Why do newline characters get lost when using command substitution?
September 18th, 2022
newlines
shell
command-substitution
nested double quotes in assignment with command substitution
September 18th, 2022
quoting
command-substitution
shell
bash
How do I diff the outputs of two commands?
September 18th, 2022
shell
command-substitution
diff
bash
Assigning exit code to a shell local variable
September 18th, 2022
command-substitution
bash
shell
variable
Why does shell Command Substitution gobble up a trailing newline char?
September 18th, 2022
shell
command-substitution
text-processing
Pass the output of previous command to next as an argument
September 18th, 2022
pipe
command-line
output
command-substitution
arguments
Quoting within $(command substitution) in Bash
September 18th, 2022
bash
shell
quoting
command-substitution
How can I execute `date` inside of a cron tab job?
September 18th, 2022
command-substitution
cron
quoting
What's the difference between `curl | sh` and `sh -c "$(curl)"`?
September 18th, 2022
curl
command-substitution
shell
docker
pipe
Can I get the exit code from a sub shell launched with $(command)?
September 18th, 2022
bash
shell-script
command-substitution
exit-status
What's the difference between $(stuff) and `stuff`?
September 17th, 2022
command-substitution
command-line
shell
Understanding backtick (`)
September 18th, 2022
bash
command-substitution
shell
Bash multiplication and addition
September 18th, 2022
command-substitution
bash
scripting
Command substitution: splitting on newline but not space
September 18th, 2022
command-substitution
bash
Fish equivalent of bash $(command) notation
September 24th, 2021
fish
shell
command-substitution
How to avoid bash command substitution to remove the newline character?
October 24th, 2020
newline
bash
command-substitution
Backticks vs braces in Bash
December 19th, 2021
bash
command-substitution
How do I assign the output of a command into an array?
February 14th, 2021
bash
command-substitution
arrays
Using AWK to read line from file and create a variable
July 6th, 2022
awk
command-substitution
sungridengine
bash
Escaping backslash in AWK in command substituion
June 19th, 2022
command-substitution
bash
awk
backslash
←
1
2
→