Commands Available Under SSH / Terminal in Shared Hosting Packages

This KB article applies to Shared Hosting packages as they share the platform which needs safety measures to ensure fair usage.

VPS and dedicated servers have normally no AUP/safety restrictions if run under single tenancy.

 

If your shared hosting package has terminal / SSH functionality, then you already know you have a premium product as most shared hosts do not offer this.

 

To list all available commands in a shared hosting terminal under CloudLinux, you can use the following method:

compgen -c

 

Using which command: For a more focused view on available executables in your path:

for cmd in $(compgen -c); do which $cmd; done

 

Check documentation: You can also refer to the manual pages for further information on specific commands. For example:

man command_name

Replace command_name with any command you wish to learn more about.
Alternatively to man you can try the command help or info or just type the command without specifications and it will display the help for that command.

 

These commands are generally available in shared hosting environments running on CloudLinux, but your access might vary depending on e.g. the restrictions in place for each package or package class.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Fix PHP Error: Allowed Memory Size of X Bytes Exhausted

If you are getting an error such as "Allowed memory size of... in file...

How to Create a User-friendly URL Using htaccess

If your website is using a long URL such as example.com/files/folder/sitemap.html, you can change...

How to Redirect a Page or Website Using htaccess

If a page on your website no longer exists and you want to redirect it to a new page or website,...

How to Switch off IPv6 in Windows 10

To switch off IPv6 in Windows 10, follow these steps: Open Network Connections:Right-click on...

Domain Registration Error Message

If you attempt a Domain Name registrationand you see an error message similar to "Domains must...