Linux CLI - Users and Groups
You want to create a script that adds a user with a home directory and then deletes the user along with all their files. Which commands should you use in order?
useradd -m username to create the user and their home folder.userdel -r username to remove the user and their home directory and files.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions