For some reason I cannot use command substitution in my bash shell in Fedora.
The following commands give me the following outputs-:
[Sreyan@localhost ~]$ $(( $(w| wc -l) - 2 ))
Command not found.
[Sreyan@localhost ~]$ `ls`
Command not found.
[Sreyan@localhost ~]$ $("date")
Command not found.
[Sreyan@localhost ~]$ $(ls)
Command not found.
[Sreyan@localhost ~]$ $(( $(date +%s) / 86400 ))
Command not found.
What am I doing wrong ? I cannot complete my assignments without command substitution. That's why I am posting here. I am on Fedora 14 32bit.