Advertisement
Guest User

Untitled

a guest
Oct 30th, 2021
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. Invalid command line option: --mount
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3.  
  4. Usage: wsl.exe [Argument] [Options...] [CommandLine]
  5.  
  6. Arguments for running Linux binaries:
  7.  
  8. If no command line is provided, wsl.exe launches the default shell.
  9.  
  10. --exec, -e <CommandLine>
  11. Execute the specified command without using the default Linux shell.
  12.  
  13. --
  14. Pass the remaining command line as is.
  15.  
  16. Options:
  17. --distribution, -d <Distro>
  18. Run the specified distribution.
  19.  
  20. --user, -u <UserName>
  21. Run as the specified user.
  22.  
  23. Arguments for managing Windows Subsystem for Linux:
  24.  
  25. --help
  26. Display usage information.
  27.  
  28. --install [Options]
  29. Install additional Windows Subsystem for Linux distributions.
  30. For a list of valid distributions, use 'wsl --list --online'.
  31.  
  32. Options:
  33. --distribution, -d [Argument]
  34. Downloads and installs a distribution by name.
  35.  
  36. Arguments:
  37. A valid distribution name (not case sensitive).
  38.  
  39. Examples:
  40. wsl --install -d Ubuntu
  41. wsl --install --distribution Debian
  42.  
  43. --set-default-version <Version>
  44. Changes the default install version for new distributions.
  45.  
  46. --shutdown
  47. Immediately terminates all running distributions and the WSL 2
  48. lightweight utility virtual machine.
  49.  
  50. --status
  51. Show the status of Windows Subsystem for Linux.
  52.  
  53. --update [Options]
  54. If no options are specified, the WSL 2 kernel will be updated
  55. to the latest version.
  56.  
  57. Options:
  58. --rollback
  59. Revert to the previous version of the WSL 2 kernel.
  60.  
  61. Arguments for managing distributions in Windows Subsystem for Linux:
  62.  
  63. --export <Distro> <FileName>
  64. Exports the distribution to a tar file.
  65. The filename can be - for standard output.
  66.  
  67. --import <Distro> <InstallLocation> <FileName> [Options]
  68. Imports the specified tar file as a new distribution.
  69. The filename can be - for standard input.
  70.  
  71. Options:
  72. --version <Version>
  73. Specifies the version to use for the new distribution.
  74.  
  75. --list, -l [Options]
  76. Lists distributions.
  77.  
  78. Options:
  79. --all
  80. List all distributions, including distributions that are
  81. currently being installed or uninstalled.
  82.  
  83. --running
  84. List only distributions that are currently running.
  85.  
  86. --quiet, -q
  87. Only show distribution names.
  88.  
  89. --verbose, -v
  90. Show detailed information about all distributions.
  91.  
  92. --online, -o
  93. Displays a list of available distributions for install with 'wsl --install'.
  94.  
  95. --set-default, -s <Distro>
  96. Sets the distribution as the default.
  97.  
  98. --set-version <Distro> <Version>
  99. Changes the version of the specified distribution.
  100.  
  101. --terminate, -t <Distro>
  102. Terminates the specified distribution.
  103.  
  104. --unregister <Distro>
  105. Unregisters the distribution and deletes the root filesystem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement