![]() ![]() For Ubuntu, run below: # Update the repositories and list of the packages available # Change the %sudo group to be password-lessĪlso, lets update the package repos and distribution for distro. Let’s also go ahead and enable nopassword login for the group %sudo: # Edit the sudoers with the visudo command For first time, it will ask you to setup username and password like any other place. If you don’t want to use the Windows Store, then follow the steps in the WSL docs for manual install. For the purpose of this blog post, we’ll use Ubuntu 20.04 LTS. You can now install Linux Distro of your choice by going to Windows Store from start panel and then install the same. After the reboot, setup WSL default to WSL2:.Restart when prompted.Įnable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform, Microsoft-Windows-Subsystem-Linux Open a PowerShell window as admin and run below command.For ARM64 systems, it should be version 2004 or higher, with Build 19041 or higher. ![]() For 圆4 systems, it should be version 1903 or higher, with Build 18362 or higher. Verify if you are running on the correct version of Windows 10 by using winver.These are the instructions for those, who dont want to bother to read through whole document: Let’s see the few variants of grep to help us searching the information that we seek.įor the purpose of this blog post, we will be searching files on a Windows 10 machine.įor full instructions, refer to the official instructions for enabling WSL2. With WSL2, you can use traditional linux utilities to assist with your work on Windows OS as well. Windows users have relied on finding files using easy user interface and Select-String cmdlet. Linux users have always boasted of being able to use grep utility. At some point, when working with computers, you would like to find files containing specific text/data/string/content/information or whatever term you use. Who doesn’t have to search files for specific content in them. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |