> For the complete documentation index, see [llms.txt](https://turkce-linux.gitbook.io/anasayfa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://turkce-linux.gitbook.io/anasayfa/komut-satiri/ls-list-directories.md).

# ls (List Directories)

Şimdi sistemde nasıl hareket edeceğimizi öğrendik, peki bize neler sunulduğunu nasıl öğreniriz? Şu an karanlıkta dolaşıyor gibiyiz. Neyse ki, dizin içeriklerini listelemek için harika `ls` komutunu kullanabiliriz. `ls` komutu varsayılan olarak geçerli dizindeki dizinleri ve dosyaları listeler, ancak hangi dizinin dizinlerini listelemek istediğinizi belirtebilirsiniz.

```
$ ls
```

```
$ ls /home/pete
```

`ls` oldukça kullanışlı bir araçtır, aynı zamanda baktığınız dosyalar ve dizinler hakkında size ayrıntılı bilgi gösterir.

Ayrıca bir dizindeki tüm dosyaların görünmeyeceğini de unutmayın. Nokta ile başlayan dosya adları gizlidir, ancak bunları ls komutuyla görebilirsiniz ve `-a` (tümü için a) işaretini ekleyebilirsiniz.

```
$ ls -a
```

Bir başka yararlı`ls` işareti daha vardır, `-l` (uzun) uzun formatta ayrıntılı bir dosya listesi gösterir. Bu size ayrıntılı bilgi gösterecektir, soldan başlayarak: dosya izinleri, bağlantı sayısı, sahip adı, sahip grubu, dosya boyutu, son değişiklik zaman damgası ve dosya/dizin adı.

```
$ ls -l
```

Şimdi daha fazlasını görelim:

```
pete@icebox:~$ ls -l

total 80

drwxr-x--- 7 pete penguingroup   4096 Nov 20 16:37 Desktop

drwxr-x--- 2 pete penguingroup   4096 Oct 19 10:46  Documents

drwxr-x--- 4 pete penguingroup   4096 Nov 20 09:30 Downloads

drwxr-x--- 2 pete penguingroup   4096 Oct  7 13:13   Music

drwxr-x--- 2 pete penguingroup   4096 Sep 21 14:02 Pictures

drwxr-x--- 2 pete penguingroup   4096 Jul 27 12:41   Public

drwxr-x--- 2 pete penguingroup   4096 Jul 27 12:41   Templates

drwxr-x--- 2 pete penguingroup   4096 Jul 27 12:41   Videos
```

Komutların daha fazla işlevsellik eklemek için işaretleri (veya argümanları veya seçenekleri, nasıl adlandırmak isterseniz) vardır. `-a` ve `-l` nasıl eklediğimizi gördük, her ikisini de birlikte `-la` ile ekleyebilirsiniz. İşaretlerin sırası hangi sırada gittiğini belirler, çoğu zaman bu gerçekten önemli değildir, bu nedenle `ls -al` yapabilirsiniz ve yine de çalışır.

```
$ ls -la
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://turkce-linux.gitbook.io/anasayfa/komut-satiri/ls-list-directories.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
