# wc ve nl

Bu komut, bir dosyadaki toplam kelime sayısını görüntüler.

```
$ wc /etc/passwd
  96  265  5925 /etc/passwd
```

Bu çıktı satırları, sırasıyla kelime sayısı, karakter sayısı ve dosya boyutunu göstermektedir.

* Belirli bir alanı saydırmak için -l, -w veya -c seçeneklerini kullanabilirsiniz.

```
$ wc -l /etc/passwd
96
```

* Bir dosyadaki satır sayısını görmek için nl (satır numaralandırma) komutunu da kullanabilirsiniz.

```
dosya1.txt
ben
adana'yı
seviyorum
```

```
$ nl dosya1.txt
1. ben
2. istanbul'u
3. seviyorum
```


---

# 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://turkce-linux.gitbook.io/anasayfa/metin-ustasi/wc-ve-nl.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.
