每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,欢迎关注开源日报。交流QQ群:202790710;微博:https://weibo.com/openingsource;电报群 https://t.me/OpeningSourceOrg


今日推荐开源项目:《有意思的动画 Sprite.js》传送门:GitHub链接

推荐理由:这个跨平台的绘图模型可以让你制作出一些看起来相当有意思的动画,它不仅可以单独使用,还可以与 D3 ,Proton 或者 Matter.js 结合,创造出更加复杂的动画效果。此外它还推出了微信小程序版本,正在开发微信小程序的同学在动画这方面可以考虑一下它。

D3:https://github.com/d3/d3

Proton:https://github.com/a-jie/Proton

与 D3 结合:

与 Proton 结合:


今日推荐英文原文:《Best Online Linux Terminals and Online Bash Editors》作者:

原文链接:https://itsfoss.com/online-linux-terminals/

推荐理由:介绍了一些好用的在线 Linux 终端和 Bash 编辑器

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, there’s 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.

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, I’ll 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

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).

2. Copy.sh

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

3. Webminal

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. It’s all right there – in a single tab on the browser.

4. Tutorialspoint Unix 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 doesn’t stop there, it offers a lot of different online terminals as well in its Coding Ground page.

5. JS/UIX

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.

6. CB.VU

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.

7. Linux Containers

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, it’s a project sponsored by Canonical.

8. Codeanywhere

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.

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.

Let’s see here can you run shell scripts online.

Tutorialspoint Bash Compiler

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

JDOODLE

Yet another useful online bash editor to test Bash scripts is JDOODLE. It also offers other IDEs, but we’ll 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.

Paizo.io

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 that’s still in the experimental phase.

ShellCheck

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.

Rextester

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

Learn Shell

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.

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.


每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,欢迎关注开源日报。交流QQ群:202790710;微博:https://weibo.com/openingsource;电报群 https://t.me/OpeningSourceOrg