What will the following statement do? for name in `cat /root/users`

What will the following statement do? for name in `cat /root/users`Category: Introduction to Linux IIWhat will the following statement do? for name in `cat /root/users`
Linux Questions Staff asked 1 year ago

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
  • Run for two values cat and /root/users
  • Report an error

About the author