| |

How to Use Linux Terminal in WordPress Dashboard

If you want to use Linux terminal in WordPress dashboard then you are on the right page, I will show you how you can execute Linux commands using WordPress dashboard.

I ran into this problem today, when my client gave me only WordPress credentials and told me to restore all the custom developments from staging environment (Windows) without giving credentials of the server.

At first, I was about to seek server credentials from client but then I thought let’s search if I can use Linux terminal in WordPress dashboard. I knew, the terminal can solve half the problems if I get to use it in WordPress dashboard.

Using Linux Terminal in WordPress Dashboard

I use all in one migration plugin to migrate from local environment to live server, because it only gives one migration file i.e., .wpress file. This file is always sized more than 200 MBs which is impossible to upload via WordPress due to file upload permissions. But with Linux, you just run wget linux command and add the URL’s path from staging server & boom it downloads the file.

Don’t worry I’m going to show you how you can use Linux Terminal in WordPress dashboard.

Steps to use Linux Terminal in WP Dashboard

WPTerm is a WP plugin which helps you to run non-interactive shell commands from the WordPress admin dashboard. With this plugin, you can run almost any shell commands from your WP dashboard from changing file permissions, downloading files from another server to WordPress, using wget linux command or viewing network connections or current processes.

Related  How to Set Pre-Defined Default Categories in WordPress

Note: Please make sure you are familiar with Unix shell commands, before using this plugin otherwise you will end up breaking your website.

  • Install & activate WPTerm plugin
  • Go to Tools > WPTerm
  • You will see blue screen editor, that’s what we call Terminal in other term
  • You can run test command as ‘ls’ – shell command to list files and directories where WordPress is installed.
  • You can easily run these commands with WPTerm plugin (ls, cd, rm, mkdir, chmod, wget).

If you are still confused about how to access Linux terminal in WordPress dashboard then, comment down below you problem. I will look into your case and suggest you some alternatives.

To be honest, this plugin really saved my time and hence a write up about this on my website become obligatory for me.

Leave a Reply

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