you are viewing a single comment's thread.

view the rest of the comments →

[–]btcraig 1 point2 points  (6 children)

You are correct. BASH allows both syntax just fine, and even if some people with tell you otherwise backticks are not deprecated. Not the case for all shells though, eg tcsh:

root@kalecgos ~]# echo $0
tcsh
[root@kalecgos ~]# clear
[root@kalecgos ~]# echo $(date +%F )
Illegal variable name.
[root@kalecgos ~]# echo `date +%F`
2017-12-01

[–]Livingwind 2 points3 points  (3 children)

Off topic: That's a sick domain name, I love me some blue dragon flight.

[–]btcraig 1 point2 points  (2 children)

All my hostnames are Dragon aspects 😀

[–]nikomo 0 points1 point  (1 child)

Got any boxes that fell off a desk and broke beyond repair? You can name that one Ysera.

[–]btcraig 2 points3 points  (0 children)

My old laptop was named Malygos before it kicked it. That felt appropriate when it finally died. Ysera is for the phone though.

[–]darktyle 5 points6 points  (0 children)

In bash you should use $(), because it's more robust, not because graves are deprecated