Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 8 Question 54 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 54
Topic #: 8
[All LFCS Questions]

Which of the following commands puts the output of the command date into the shell variable mydate?

Show Suggested Answer Hide Answer
Suggested Answer: E

Contribute your Thoughts:

Charlie
2 days ago
I'm not sure, but I think it's either A) or E) because they both involve capturing the output of the date command
upvoted 0 times
...
Bobbie
3 days ago
I agree with Novella, because using $(date) will capture the output of the date command
upvoted 0 times
...
Novella
6 days ago
I think the answer is A) mydate=$(date)
upvoted 0 times
...

Save Cancel