What will the following statement do?

Last Updated on April 8, 2022 by Admin 3

What will the following statement do?

for name in `cat /root/users`
  • Get into an infinite loop
  • Assign to the name variable each value in the specified file 
  • Report an error 
  • Run for two values; cat and /root/users
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments