It has become well-loved that Microsoft created PowerShell, its own open source command line, while Apple switched to using Unix as their foundation and acquired access to the Bash and Z shells. Don’t give up if you want to test using a Linux terminal but aren’t sitting next to a Linux system. You can use various services to run a Linux terminal inside of a browser. This article looks at a few of them and ought to help you get a better idea of your capabilities and potential output.
Chrome is a popular web browser that can be used to access a Linux terminal. However, you can also access a Linux terminal in Chrome by following these steps:
- Open Chrome and sign in.
- Click the three lines in the top left corner of the browser window (or press Ctrl+Shift+T).
- In the “New Incognito Window” dialog box, click “Linux (Ubuntu 14.04).”
- In the “Shell” field, type bash and press Enter.
- Type ls -l to see what files are in your current directory, and then type cd to change to that directory.
- Type ls -a to see all files in your current directory and their permissions, and then type chmod +x filename to make filename executable (you may need to enter your user password if you’re not logged in as root). ..
Steps to Run Linux terminal in Windows browser
Windows Subsystem for Linux (WSL) and Install Ubuntu in Windows browser
To use a Linux terminal on a Windows browser, first activate the “Windows Subsystem for Linux” capability. After that, you can download and install the Linux distribution of your choosing.
The Windows Subsystem for Linux is a feature that allows you to use your desktop and contemporary store apps along with essential Linux command-line tools and services on Windows.
You can install and operate other Linux distributions (distros) like Ubuntu, OpenSuse, SUSE Linux, Fedora, etc. by enabling the Windows Linux subsystem. This allows you to use many of the same tools and software that are available for Windows operating systems. ..
Check Windows Version
If you are using a compatible version of Windows 10, you can install Linux by following these steps:
- Open the Start menu and search for “Windows Subsystem for Linux”
- Click on the Windows Subsystem for Linux icon that appears in the results
- Click on the “Install” button to begin the installation process
- When the installation is complete, click on the “Open WSL” button to launch WSL ..
Step 2: Click on ‘Update and security’. Step 3: On the left-hand side, under ‘Windows Update’, click on ‘Check for updates’. Step 4: If there are any updates available, they will be listed in the window that pops up. Click on the update that you want to install. Step 5: Once the update is downloaded and installed, restart your computer. To check your Windows version and build, go to “Settings” from Windows Start menu and click on “Update and security”. On the left-hand side, under “Windows Update”, click on “Check for updates”. If there are any updates available, they will be listed in the window that pops up. Click on the update that you want to install. Once the update is downloaded and installed, restart your computer. ..
Step 2: Next, click ‘System’ setting. To access the System settings, click on the ‘System’ tab located in the main menu. This tab contains a variety of options that can be customized to improve your computer’s performance. Some of these options include changing your computer’s display language, adjusting your computer’s time and date, and configuring your computer’s keyboard and mouse. ..
Step 3: Scroll down and select ‘About’ option at the bottom of the left pane to view About section.
If you’re using a Windows 10 device, you can see the ‘Version’ and ‘OS build’ of your browser on the About page.
Enable Windows Subsystem for Linux
The two different types of WSL versions are WSL 1 and WSL 2. Despite their similarities, WSL 2 is the most recent and quick version that offers complete Linux kernel and system call compatibility. A translation layer is run by WSL 1 to connect the Windows kernel with the Linux kernel.
Windows 10 x64 bit systems: Version 1903 or higher, with Build 18362 or higher are required to run WSL 2. ..
To run WSL 1, you will need Windows 10 x64 bit systems:
- Version 1709 or higher, with Build 16215 or higher.
To use Windows Subsystem for Linux, you must first enable it. To do this, start entering “Turn Windows features on and off” into the Start Menu search box. ..
Step 2: In the ‘Windows Features’ window, select the ‘Turn Windows features on or off’ check box. Step 3: Click on the ‘OK’ button to enable or disable Windows features. ..
Step 2: Next, click the “Windows Subsystem for Linux” box and check the “Enable” checkbox. Step 2: Click the “OK” button to enable Windows Subsystem for Linux. ..
To apply the changes, click “Restart now.” This will restart your computer. ..
If you want to only install WSL 2, you can now restart your computer and install your Linux distro. ..
Enable WSL 1 via PowerShell
Set-WSL -Enable $true
Enable WSL 2 via PowerShell
Set-WSL2VirtualMachinePlatform -Name “Windows 10” -Version “10.0.14393.0”
Final Words
Linux is a Unix-like operating system that is made available under an open-source license. It has a similar feature set to UNIX, and the Linux kernel is a piece of software that handles basic tasks including enabling hardware and software communication.
This command enables the VirtualMachinePlatform feature on the computer and starts the computer in a virtual machine.