Linux OS Shell Question: Download Questions PDF
Which of the following command provides the list of the functions defined in the login session?
a) declare -f
b) declare -F
c) both (a) and (b)
d) none of the mentioned
![Linux Shell Interview Answer Linux Shell Interview Question](https://globalguideline.com/public/images/interview/17.png)
Answer:
c) both (a) and (b)
Explanation:
'declare -F' provides just the name of the functions and 'declare -f' provides their definitions also.
Explanation:
'declare -F' provides just the name of the functions and 'declare -f' provides their definitions also.
Download Linux Shell Interview Questions And Answers
PDF