A – Z Linux Commands – Overview with Examples

Linux Commands Cheat Sheet
Linux Commands Cheat Sheet
Linux Commands Cheat Sheet

19 Responses

  1. ahsan says:

    Really helpful articles on Linux commands, thanks a lot for putting all together..

  2. Jake says:

    Okay, let’s say for a second someone has made themselves admin WITHOUT MY PERMISSION… Can I remove them using Linux?

    • DR says:

      Gosh I hope so. This is a simplistic solution and doesn’t consider the actual situation that you may be in:

      $ sudo userdel user
      $ sudo pkill -u user
      

      Of course you’ll want to figure out how they got admin without your permission (sudo config, shared password, etc.)

    • ROMSAT says:

      Of course you can. As long as you belong to the superuser groups. You need to use the *userdel* command to delete a user account and related files from user account under Linux.

      The *userdel* is the way to do it on the command line.

      # userdel* username      (remove that user)
      # userdel -r* username    (delete the user’s home directory and mail spool)
      

Leave a Reply to Muhebullah Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.