# Command Detail - R

## read -p

In \*nix:

```
read -p "Which is the only London club to win the Champions League? " team
echo $team
```

In Powershell:

```
$team = read-host "Which is the only London club to win the Champions League?"
Which is the only London club to win the Champions League? : Chelsea

$team
Chelsea
```

To *not* echo the input to screen, you would do

```
$SecretString = read-host "Whats your secret? "-assecurestring
```

This echoes out an asterisk for each character input

## rm

```
Remove-Item
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devops-collective-inc.gitbook.io/a-unix-person-s-guide-to-powershell/commands-detail-r.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
