Linux Interview Questions and Answer – Part 10
How can we use lsof to display open ports? lsof -i lsof -w lsof -u sudo lsof -i (Ans) On SUSE which file stores the static hostname…
Ansible Playbook Lab & Excercise – Part 4
Execution Mode – Remote Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part…
Ansible Adhoc Commands Lab & Excercise – Part 1
Program 1 – Write a Ansible Adhoc Commands to create a group called “deploy How to verify? $ more /etc/group | grep deploy Program 2 – Write…
Puppet Program Lab & Excercise – Part 1
Puppet Program Lab & Excercise – Part 1 Write a Puppet Program to create a file named with “file.txt” in /opt/ owner by ec2-user and execute permission?…
Linux User Management
ac Print statistics about users’ connect time. accton Turn on accounting of processes. To turn it on type “accton /var/log/pacct”. adduser Ex: adduser mark – Effect: Adds…
List all the Grups and users in linux
scmuser created the topic: List all the Grups and users in linux Hi, How can we list our all the users in Linux? How to list all…
Command Not Found With Visudo
scmuser created the topic: command not found with visudo Hi, I want to edit visudo and include one user for running apache but when i type following…
List all the users in linux
rajeshkumar created the topic: List all the users in linux List all the users in Linux cat /etc/passwd | cut -d”:” -f1 Regards, Rajesh Kumar Twitt me…
