Linux for VPS

Share:
TABLE OF CONTENTS

Commands

sudo su

In Linux, sudo su is a command used to switch to the root user (superuser) with the help of sudo. Here’s a breakdown of what it means and does:

— sudo: This command stands for “superuser do.” It allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.

— su: This command stands for “substitute user” or “switch user.” By default, it switches to the root user when no username is provided.

sudo su

Thus, sudo su allows you to switch to the root user, given that you have the necessary permissions to use sudo.

lsof -i :80

This will show the process ID (PID) of the service using port 80.

lsof -i :80

nc -l 80

listen to requests coming to port 80

nc -l 80
  • Al-Arafat Siddique spearheads our software development team at SOFTEKO, bringing years of expertise in Node.js and DevOps proficiency. A dynamic leader, he adeptly manages multiple projects, ensuring high-quality outcomes through his mastery of JavaScript frameworks and system architecture. His full-stack experience in frontend and backend development, coupled with exceptional leadership, cultivates a collaborative, high-performing team environment, consistently delivering cutting-edge solutions that surpass client expectations.

    View all posts

Leave a comment

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

Send Us A Message

Connect with Softeko

Please fill out the form and a representative from our team will be in touch with you shortly. We strive to respond to all inquiries within 24 hours during business days. Also, you can reach us directly via social media. We are available on Facebook, YouTube, & LinkedIn.

Your Success Starts Here!

Please enable JavaScript in your browser to complete this form.
Name