Removed $ and made some edits

This commit is contained in:
schmurky 2020-08-12 15:48:14 +08:00
parent 77380406ea
commit 7e87c0303e

View File

@ -26,28 +26,35 @@ ms.topic: conceptual
## Collect diagnostic information ## Collect diagnostic information
If you can reproduce a problem, please increase the logging level, run the system for some time, and restore the logging level to the default. If you can reproduce a problem, first increase the logging level, run the system for some time, and then restore the logging level to the default.
1. Increase logging level: 1. Increase logging level:
```bash ```bash
$ mdatp log level set --level verbose mdatp log level set --level verbose
```
```Output
Log level configured successfully Log level configured successfully
``` ```
2. Reproduce the problem. 2. Reproduce the problem.
3. Run `sudo mdatp diagnostic create` to back up Microsoft Defender ATP's logs. The files will be stored inside of a .zip archive. This command will also print out the file path to the backup after the operation succeeds: 3. Run the following command to back up Microsoft Defender ATP's logs. The files will be stored inside of a .zip archive.
```bash ```bash
$ sudo mdatp diagnostic create sudo mdatp diagnostic create
```
This command will also print out the file path to the backup after the operation succeeds:
```Output
Diagnostic file created: <path to file> Diagnostic file created: <path to file>
``` ```
4. Restore logging level: 4. Restore logging level:
```bash ```bash
$ mdatp log level set --level info mdatp log level set --level info
```
```Output
Log level configured successfully Log level configured successfully
``` ```
@ -59,7 +66,7 @@ The detailed log will be saved to `/var/log/microsoft/mdatp_install.log`. If you
## Uninstall ## Uninstall
There are several ways to uninstall Microsoft Defender ATP for Linux. If you are using a configuration tool such as Puppet, please follow the package uninstallation instructions for the configuration tool. There are several ways to uninstall Microsoft Defender ATP for Linux. If you are using a configuration tool such as Puppet, follow the package uninstallation instructions for the configuration tool.
### Manual uninstallation ### Manual uninstallation
@ -73,7 +80,7 @@ Important tasks, such as controlling product settings and triggering on-demand s
### Global options ### Global options
By default, the command-line tool outputs the result in human-readable format. In addition to this, the tool also supports outputting the result as JSON, which is useful for automation scenarios. To change the output to JSON, pass `--output json` to any of the below commands. By default, the command-line tool outputs the result in human-readable format. In addition, the tool also supports outputting the result as JSON, which is useful for automation scenarios. To change the output to JSON, pass `--output json` to any of the below commands.
### Supported commands ### Supported commands
@ -138,5 +145,5 @@ In the Microsoft Defender ATP portal, you'll see two categories of information:
- In SUSE distributions, if the installation of *libatomic1* fails, you should validate that your OS is registered: - In SUSE distributions, if the installation of *libatomic1* fails, you should validate that your OS is registered:
```bash ```bash
$ sudoSUSEConnect --status-text sudoSUSEConnect --status-text
``` ```