> For the complete documentation index, see [llms.txt](https://jam2in.gitbook.io/arcus-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jam2in.gitbook.io/arcus-documentation/get-started/run-first-command.md).

# Run first command

캐시 서버(arcus-memcached)가 구동된 상태라면, 아래와 같은 명령으로 캐시 서버에 연결하고 명령을 전송해 볼 수 있습니다.

```
telnet localhost 11211
```

캐시 서버에 연결되었다면, 아래와 같은 명령을 통해 데이터를 저장할 수 있습니다.

```
set sample-data 0 30 22
this is a sample data!
```

수행 결과로 `STORED` 응답을 받았다면, `sample-data`라는 key로 저장된 데이터를 조회할 수 있습니다.\
`set` 명령을 보낸 후 30초가 지나면 저장된 데이터가 사라지는 점에 유의하세요.\
만약 데이터가 만료되지 않기를 원하는 경우, `set` 명령의 세 번째 인자로 `30` 대신 `0`을 지정하면 됩니다.

```
get sample-data
```

```
VALUE sample-data 0 22
this is a sample data!
END
```
