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

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