Ethical hacker Udemy course commands

  1. sudo apt install -y kali-grant-root && sudo dpkg-reconfigure kali-grant-root. Then select “Enable password-less privilege escalation” → to use sudo to run the command as an administrator, but without entering the password.
  2. sudo su →to use the terminal as administrator user, and not use sudo every time.
  3. cd → to navigate between the directories.
  4. cd .. → to go back to the previous directory.
  5. passwd → to change the password of the user.
  6. ls →to list all directories and files in the current directory.
  7. pwd →to view the current directory.
  8. mkdir →to create a new directory.
  9. rmdir →to delete a directory.
  10. updatedb →to create internal database in the system.
  11. locate → to search for a file in the system.
  12. man →to view description for a command.
  13. - -help →to view description for a command.
  14. cat →to create a new file and write in it.
  15. nano →to open a file with editor.
  16. grep →to search for words in a file and display the line.
  17. less → to open a large file by bits.
  18. ifconfing → to view the settings of the network.
  19. clear → to clean the terminal window.
  20. uname -a → to view kali version.
  21. service ssh start → to start ssh.
  22. service ssh stop→ to stop ssh.
  23. netstat -antp| grep ssh → to check if the ssh started or not.
  24. service apache2 start → to start html .
  25. service apache2 stop→ to stop html .
  26. netstat -antp| grep apache2→ to check if the html started or not.
  27. apt-get install “service” → to install the service.
  28. apt-get remove “service” → to remove the service.
  29. update-rc.d “service” enable →to start the service once the operating system runs and stop once the operating systems stops.
  30. update-rc.d “service” disable →to stop the above service.

Created 8 December 2020




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Lessons learnt from getting scammed USD1k so it doesn’t happen to you

4 Security Concerns with iframes Every Web Developer Should Know

5 Best Practices for the Remote Workers in the SEO VPS Industry — Blog- Web Hosting Services |…

{UPDATE} Gymnastics Queen Hack Free Resources Generator

Radio Frequency ID Security Test

On the Subject of Database Encryption

Supplies for Increasing Combat Capabilities are on their way!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Intro to Defensive Security | TryHackMe

Year of the Fox — TryHackMe

MY FIRST VULNERABILITY; The One that got away

Phishing 101

Suspicious URL