💢Flutter App to run Linux Commands💢

Srushti Patil
2 min readAug 20, 2021

--

🔰What is Flutter ?

Flutter is an open-source UI software development kit created by Google. It is used to develop cross platform applications for Android, iOS, Linux, Mac, Windows, Google Fuchsia, and the web from a single codebase.

📌I have created a flutter app that will run Linux commands :

So let’s begin!

Step 1. Create a Flutter app.

flutter create my_app
cd my_app

Step 2. Install Linux

Step 3. Install Python and Apache server on it.

Step 4. Write a Python script to execute Linux commands.

cd /var/www/cgi-bin
vim app.py

Step 5. Make the file executable.

chmod +x app.py

Step 6. Disable selinux and firewalld with following cmd:

setenforce 0
systemctl stop firewalld

Step 7. Code for flutter.

Step 8 . Now , let’s see some demo of my_app

As i don’t have enough RAM for launching Emulator(Android Studio). That’s why i am using chrome here …

🔰 Task Completed Successfully !!

Thanks for Reading !! 🙌🏻😁📃

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Srushti Patil
Srushti Patil

Written by Srushti Patil

I am srushti patil from 3rd yr of B.E(IT) . Studying at NDMVP'S KBTCOE, Nashik✨😍💯. Learner at Linux world .

No responses yet

Write a response