Quantcast
Channel: What's the difference between $(...) and `...` in Bash - Super User
Browsing latest articles
Browse All 3 View Live

Answer by vicben for What's the difference between $(...) and `...` in Bash

Some explanation about the backtick ( ` ) also called command...

View Article


Answer by meuh for What's the difference between $(...) and `...` in Bash

I did a grep -al 'Illegal variable name' /bin/*and found the message in /bin/csh. Looks like you are running csh not bash when you are giving the command. eg:csh $ echo `echo abc`abccsh $ echo $(echo...

View Article

What's the difference between $(...) and `...` in Bash

I got expected result with `...`, but failed with $(...)kill $(ps ux | grep S..\.tcl | grep -v grep | awk '{print $2}')Illegal variable name.kill `ps ux | grep S..\.tcl | grep -v grep | awk '{print...

View Article
Browsing latest articles
Browse All 3 View Live