The output of the program date should be saved in the variable actdat. What is the correct statement?
A.
actdat=`date`
B.
set actdat=’date’
C.
date | actdat
D.
date > $actdat
E.
actdat=date
The output of the program date should be saved in the variable actdat. What is the correct statement?
The output of the program date should be saved in the variable actdat. What is the correct statement?
A.
actdat=`date`
B.
set actdat=’date’
C.
date | actdat
D.
date > $actdat
E.
actdat=date
vagrant@ubuntu-xenial:~$ actdat=date
vagrant@ubuntu-xenial:~$ echo $actdat
date
vagrant@ubuntu-xenial:~$ actdat=’date’
vagrant@ubuntu-xenial:~$ echo $actdat
date
vagrant@ubuntu-xenial:~$ actdat=”date”
vagrant@ubuntu-xenial:~$ echo $actdat
date
vagrant@ubuntu-xenial:~$