TranslateProject/sources/tech/20180725 Best Online Linux Terminals and Online Bash Editors.md

10 KiB
Raw Blame History

Best Online Linux Terminals and Online Bash Editors

No matter whether you want to practice Linux commands or just analyze/test your shell scripts online, theres always a couple of online Linux terminals and online bash compilers available.

This is particularly helpful when you are using the Windows operating system. Though you can install Linux inside Windows using Windows Subsystem for Linux, using online Linux terminals are often more convenient for a quick test.

Websites that allow to use Linux Terminal online

But where can you find free Linux console? Which online Linux shell should you use?

Fret not, to save you the hassle, here, we have compiled a list of the best online Linux terminals and a separate list of best online bash compilers for you to look at.

Note: All of the online terminals support several browsers that include Google Chrome, Mozilla Firefox, Opera and Microsoft Edge.

Best Online Linux Terminals To Practice Linux Commands

In the first part, Ill list the online Linux terminals. These websites allow you to run the regular Linux commands in a web browser so that you can practice or test them. Some websites may require you to register and login to save your sessions.

1. JSLinux

online linux terminal - jslinux

JSLinux is more like a complete Linux emulator instead of just offering you the terminal. As the name suggests, it has been entirely written in JavaScript. You get to choose a console-based system or a GUI-based online Linux system. However, in this case, you would want to launch the console-based system to practice Linux commands. To be able to connect your account, you need to sign up first.

JSLinux also lets you upload files to the virtual machine. At its core, it utilizes Buildroot (a tool that helps you to build a complete Linux system for an embedded system).

Try JSLinux Terminal

2. Copy.sh

copysh online linux terminal

Copy.sh offers one of the best online Linux terminals which is fast and reliable to test and run Linux commands.

Copy.sh is also on GitHub and it is being actively maintained, which is a good thing. It also supports other Operating Systems, which includes:

  • Windows 98
  • KolibriOS
  • FreeDOS
  • Windows 1.01
  • Archlinux

Try Copy.sh Terminal

3. Webminal

webminal online linux terminal

Webminal is an impressive online Linux terminal and my personal favorite when it comes to a recommendation for beginners to practice Linux commands online.

The website offers several lessons to learn from while you type in the commands in the same window. So, you do not need to refer to another site for the lessons and then switch back or split the screen in order to practice commands. Its all right there in a single tab on the browser.

Try Webminal Terminal

4. Tutorialspoint Unix Terminal

tutorialspoint linux terminal

You might be aware of Tutorialspoint which happens to be one of the most popular websites with high quality (yet free) online tutorials for just about any programming language (and more).

So, for obvious reasons, they provide a free online Linux console for you to practice commands while referring to their site as a resource at the same time. You also get the ability to upload files. It is quite simple but an effective online terminal. Also, it doesnt stop there, it offers a lot of different online terminals as well in its Coding Ground page.

Try Unix Terminal Online

5. JS/UIX

js uix online linux terminal

JS/UIX is yet another online Linux terminal which is written entirely in JavaScript without any plug-ins. It contains an online Linux virtual machine, virtual file-system, shell, and so on.

You can go through its manual page for the list of commands implemented.

Try JS/UX Terminal

6. CB.VU

online linux terminal

If you are in for a treat with FreeBSD 7.1 stable version, cb.vu is a quite simple solution for that.

Nothing fancy, just try out the Linux commands you want and get the output. Unfortunately, you do not get the ability to upload files here.

Try CB.VU Terminal

7. Linux Containers

online linux terminal

Linux Containers lets you run a demo server with a 30-minute countdown on which acts as one of the best online Linux terminals. In fact, its a project sponsored by Canonical.

Try Linux LXD

8. Codeanywhere

online linux terminal

Codeanywhere is a service which offers cross-platform cloud IDEs. However, in order to run a free Linux virtual machine, you just need to sign up and choose the free plan. And, then, proceed to create a new connection while setting up a container with an OS of your choice. Finally, you will have a free Linux console at your disposal.

Try Codeanywhere Editor

Best Online Bash Editors

Wait a sec! Are the online Linux terminals not good enough for Bash scripting? They are. But creating bash scripts in terminal editors and then executing them is not as convinient as using an online Bash editor.

These bash editors allow you to easily write shell scripts online and you can run them to check if it works or not.

Lets see here can you run shell scripts online.

Tutorialspoint Bash Compiler

online bash compiler

As mentioned above, Tutorialspoint also offers an online Bash compiler. It is a very simple bash compiler to execute bash shell online.

Try Tutorialspoint Bash Compiler

JDOODLE

online bash compiler

Yet another useful online bash editor to test Bash scripts is JDOODLE. It also offers other IDEs, but well focus on bash script execution here. You get to set the command line arguments and the stdin inputs, and would normally get the result of your code.

Try JDOODLE Bash Script Online Tester

Paizo.io

paizo online bash editor

Paizo.io is a good bash online editor that you can try for free. To utilize some of its advanced features like task scheduling, you need to first sign up. It also supports real-time collaboration, but thats still in the experimental phase.

Try Paizo.io Bash Editor

ShellCheck

shell check bash check

An interesting Bash editor which lets you find bugs in your shell script. It is available on GitHub as well. In addition, you can install ShellCheck locally on supported platforms.

Try ShellCheck

Rextester

rextester bash editor

If you only want a dead simple online bash compiler, Rextester should be your choice. It also supports other programming languages.

Try Rextester

Learn Shell

online bash shell editor

Just like Webminal, Learnshell provides you with the content (or resource) to learn shell programming and you could also run/try your code at the same time. It covers the basics and a few advanced topics as well.

Try Learn Shell Programming

Wrapping Up

Now that you know of the most reliable and fast online Linux terminals & online bash editors, learn, experiment, and play with the code!

We might have missed any of your favorite online Linux terminals or maybe the best online bash compiler which you happen to use? Let us know your thoughts in the comments below.


via: https://itsfoss.com/online-linux-terminals/

作者:Ankush Das 选题:lujun9972 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出