Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. C:\Users\machinshin>wsl -l --all
  2. Windows Subsystem for Linux Distributions:
  3. Legacy (Default)
  4. Ubuntu
  5.  
  6. >>>>>>>>>>>>>>>>>>>>>>
  7.  
  8.  
  9. C:\Users\machinshin>wsl --set-default-version 2
  10. Invalid command line option: --set-default-version
  11. Copyright (c) Microsoft Corporation. All rights reserved.
  12.  
  13. Usage: wsl.exe [Argument] [Options...] [CommandLine]
  14.  
  15. Arguments to run Linux binaries:
  16.  
  17. If no command line is provided, wsl.exe launches the default shell.
  18.  
  19. --exec, -e <CommandLine>
  20. Execute the specified command without using the default Linux shell.
  21.  
  22. --
  23. Pass the remaining command line as is.
  24.  
  25. Options:
  26. --distribution, -d <DistributionName>
  27. Run the specified distribution.
  28.  
  29. --user, -u <UserName>
  30. Run as the specified user.
  31.  
  32. Arguments to manage Windows Subsystem for Linux:
  33.  
  34. --export <DistributionName> <FileName>
  35. Exports the distribution to a tar file.
  36. The filename can be - for standard output.
  37.  
  38. --import <DistributionName> <InstallLocation> <FileName>
  39. Imports the specified tar file as a new distribution.
  40. The filename can be - for standard input.
  41.  
  42. --list, -l [Options]
  43. Lists distributions.
  44.  
  45. Options:
  46. --all
  47. List all distributions, including distributions that are currently
  48. being installed or uninstalled.
  49.  
  50. --running
  51. List only distributions that are currently running.
  52.  
  53. -setdefault, -s <DistributionName>
  54. Sets the distribution as the default.
  55.  
  56. --terminate, -t <DistributionName>
  57. Terminates the distribution.
  58.  
  59. --unregister <DistributionName>
  60. Unregisters the distribution.
  61.  
  62. --upgrade <DistributionName>
  63. Upgrades the distribution to the WslFs file system format.
  64.  
  65. --help
  66. Display usage information.
  67.  
  68. C:\Users\srivrag2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement