1 Answers
To delete a group in Linux using the <code>groupmod</code> command, you would use the following syntax:
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md">Copy code</div>
<div class="p-4 overflow-y-auto"><code>sudo groupdel groupname
</code></div>
</div>
So, to delete the "football" group, you would use:
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md">Copy code</div>
<div class="p-4 overflow-y-auto"><code>sudo groupdel football</code></div>
</div>
Leave Answer
You must be logged in to answer.