When I try to add a new user by “useradd -c” inside while loop in Ubuntu24.04 doens’t work, but at the other Ubuntu version the same script works
I’m a new student at the Linux Command and Shell Script and I’m reading the book called Linux Command Line and Shell Scripting Bible, Third Edition. In this book, on the 361 page, there is a script like the following