{"id":2890,"date":"2024-05-30T15:59:08","date_gmt":"2024-05-30T12:59:08","guid":{"rendered":"https:\/\/bilisimacademy.com\/blog\/?p=2890"},"modified":"2025-07-03T15:58:38","modified_gmt":"2025-07-03T12:58:38","slug":"linux-fundamentals-part-2","status":"publish","type":"post","link":"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/","title":{"rendered":"Linux Fundamentals Part 2"},"content":{"rendered":"\n<p>Bu yaz\u0131m\u0131zda Tryhackme Linux Fundamentals Part 2 odas\u0131n\u0131 ele alaca\u011f\u0131z.<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u0130\u00e7indekiler<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\u0130\u00e7indekiler Tablosunu A\u00e7\/Kapat\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/#Task-3\" >Task-3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/#Task-4\" >Task-4<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/#Task-5\" >Task-5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/#Task-6\" >Task-6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/bilisimacademy.com\/blog\/2024\/05\/linux-fundamentals-part-2\/#Task-7\" >Task-7<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p>Toplamda 8 b\u00f6l\u00fcmden olu\u015fan bir oda ve temel bilgileri h\u0131zl\u0131 bir \u015fekilde \u00f6\u011frenebilece\u011finiz g\u00fczel bir i\u00e7erik olu\u015fturulmu\u015f.<\/p>\n\n\n\n<p>H\u0131zl\u0131 bir giri\u015f yap\u0131p b\u00f6l\u00fcmlerimizi \u00e7\u00f6z\u00fcmlemeye ba\u015flayal\u0131m.<\/p>\n\n\n\n<p>Keyifli okumalar \ud83d\ude0a<\/p>\n\n\n\n<p><a href=\"https:\/\/bilisimacademy.com\/blog\/linux-fundamentals-part-1-walkthrough\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Task-1 ve Task-2<\/strong><\/a> b\u00f6l\u00fcmlerini okuman\u0131z bekleniyor. \u0130lgili ayarlar\u0131 diledi\u011finiz gibi yapabilirsiniz.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Task-3\"><\/span>Task-3<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bu b\u00f6l\u00fcmde, linux i\u015fletim sisteminde \u00e7ok\u00e7a kulland\u0131\u011f\u0131m\u0131z <strong>\u201cls\u201d<\/strong> komutunun kullan\u0131m\u0131ndan bahsediyor.<\/p>\n\n\n\n<p>Asl\u0131nda bu komutun bir\u00e7ok kullan\u0131m se\u00e7ene\u011fi var. Birka\u00e7 detay\u0131ndan \u015fu \u015fekilde bahsedelim:<\/p>\n\n\n\n<p>\u00d6ncelikle bu komut <strong>(ls)<\/strong> &#8220;list&#8221; kelimesinin k\u0131saltmas\u0131d\u0131r ve bir dizinin i\u00e7eri\u011fini listelemek i\u00e7in kullan\u0131l\u0131r.<\/p>\n\n\n\n<p>Dizinlerdeki dosya ve alt dizinleri g\u00f6r\u00fcnt\u00fclemek i\u00e7in olduk\u00e7a yayg\u0131n olarak kullan\u0131l\u0131r.<\/p>\n\n\n\n<p>Kullan\u0131m\u0131 olduk\u00e7a basittir ve temel kullan\u0131m\u0131 \u015fu \u015fekildedir:<\/p>\n\n\n\n<p><strong>ls [se\u00e7enekler] [dizinler]<\/strong><\/p>\n\n\n\n<p>Burada <strong>&#8220;se\u00e7enekler&#8221; <\/strong>den kast\u0131m\u0131z komutun davran\u0131\u015f\u0131n\u0131 de\u011fi\u015ftiren ek parametrelerdir ve iste\u011fe ba\u011fl\u0131d\u0131r.<\/p>\n\n\n\n<p>\u00d6rne\u011fin, <strong>-l<\/strong> se\u00e7ene\u011fi, dosyalar\u0131n detayl\u0131 bir listesini g\u00f6sterirken <strong>-a<\/strong> se\u00e7ene\u011fi gizli dosyalar\u0131 da listeler.<\/p>\n\n\n\n<p><strong>&#8220;dizinler&#8221;<\/strong> ise, listelenmesini istedi\u011finiz dizinlerin adlar\u0131n\u0131 i\u00e7erir. Bunu bir path olarak da verebilirsiniz. Herhangi bir \u015fey belirtmedi\u011finiz durumda ilgili mevcut dizini yazd\u0131racakt\u0131r.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u00d6rne\u011fin, mevcut dizinin i\u00e7eri\u011fini listelemek i\u00e7in:<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u201cls \u201c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Gizli dosyalar\u0131 da listelemek i\u00e7in:<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u201cls -a \u201c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Detayl\u0131 bir liste almak i\u00e7in:<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u201cls -l \u201c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Belirli bir dizinin i\u00e7eri\u011fini listelemek i\u00e7in:<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u201cls \/path\/to\/directory \u201c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Birle\u015ftirilmi\u015f se\u00e7enekler de kullan\u0131labilir:<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u201cls -la \u201c<\/strong><\/p>\n\n\n\n<p>Bu, gizli dosyalar\u0131 listelerken detayl\u0131 bir \u00e7\u0131kt\u0131 sa\u011flar.<\/p>\n\n\n\n<p>Daha fazla se\u00e7enek ve kullan\u0131m hakk\u0131nda bilgi almak i\u00e7in<strong> &#8220;man ls&#8221; <\/strong>komutunu kullanabilirsiniz. Veya di\u011fer bir yard\u0131m alma komutumuz olan <strong>\u201chelp\u201d<\/strong> komutundan yararlanabilirsiniz. <strong>(\u201cls &#8211; &#8211; help\u201d)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>man<\/strong>: &#8220;man&#8221; k\u0131saltmas\u0131 &#8220;manuel&#8221; anlam\u0131na gelir ve Linux ve Unix sistemlerinde komutlar ve sistem hakk\u0131nda ayr\u0131nt\u0131l\u0131 belgelere eri\u015fmek i\u00e7in kullan\u0131lan bir komuttur. \u00d6rne\u011fin, &#8220;man ls&#8221; komutu &#8220;ls&#8221; komutunun kullan\u0131m\u0131n\u0131 a\u00e7\u0131klar.<\/li>\n\n\n\n<li><strong>help<\/strong>: &#8220;help&#8221; komutu, bash kabu\u011funda yerle\u015fik komutlar\u0131n k\u0131sa a\u00e7\u0131klamalar\u0131n\u0131 ve kullan\u0131m\u0131n\u0131 g\u00f6sterir. Yine ayn\u0131 \u015fekilde, &#8220;help ls&#8221; komutu &#8220;ls&#8221; komutunun kullan\u0131m\u0131n\u0131 ve se\u00e7eneklerini g\u00f6sterir.<\/li>\n<\/ul>\n\n\n\n<p>B\u00f6l\u00fcm sorular\u0131na bakt\u0131\u011f\u0131m\u0131zda;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Explore the manual page of the ls command<\/strong><\/li>\n<\/ul>\n\n\n\n<p><em>No Answer needed<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What directional arrow key would we use to navigate down the manual page?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Elle manuel sayfada a\u015fa\u011f\u0131 do\u011fru gezinmek i\u00e7in klavyenizdeki a\u015fa\u011f\u0131 ok tu\u015funu kullan\u0131rs\u0131n\u0131z.<\/p>\n\n\n\n<p><em>&nbsp;Down<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What flag would we use to display the output in a &#8220;human-readable&#8221; way?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Yard\u0131m komutlar\u0131ndan faydaland\u0131\u011f\u0131n\u0131zda sorunun do\u011fru cevab\u0131na ula\u015facaks\u0131n\u0131z<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"907\" height=\"247\" data-id=\"4022\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim1-11-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4022\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim1-11-1.webp 907w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim1-11-1-300x82.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim1-11-1-768x209.webp 768w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/figure>\n<\/figure>\n\n\n\n<p><em>-h<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Task-4\"><\/span>Task-4<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bu b\u00f6l\u00fcmde \u00e7ok \u00f6nem arz eden dosya-dizin i\u015flem komutlar\u0131ndan bahsediliyor.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>touch<\/strong>: &#8220;touch&#8221; komutu &nbsp;yeni bir dosya olu\u015fturur. E\u011fer dosya mevcut de\u011filse, yeni bir dosya olu\u015fturur; e\u011fer mevcutsa, dosyan\u0131n de\u011fi\u015ftirilme zaman\u0131n\u0131 g\u00fcnceller.<\/li>\n\n\n\n<li><strong>mkdir<\/strong>: &#8220;mkdir&#8221; komutu, yeni bir dizin olu\u015fturmak i\u00e7in kullan\u0131l\u0131r. Belirtilen isimde bir dizin olu\u015fturur.<\/li>\n\n\n\n<li><strong>cp<\/strong>: &#8220;cp&#8221; komutu, dosyalar\u0131 kopyalamak i\u00e7in kullan\u0131l\u0131r. Kaynak dosyan\u0131n ad\u0131n\u0131 ve hedef konumun ad\u0131n\u0131 al\u0131r ve kaynak dosyay\u0131 hedef konuma kopyalar.<\/li>\n\n\n\n<li><strong>mv<\/strong>: &#8220;mv&#8221; komutu, dosyalar\u0131 veya dizinleri ta\u015f\u0131mak veya yeniden adland\u0131rmak i\u00e7in kullan\u0131l\u0131r. Kaynak dosyan\u0131n ad\u0131n\u0131 ve hedef konumun ad\u0131n\u0131 al\u0131r ve kaynak dosyay\u0131 hedef konuma ta\u015f\u0131r veya ad\u0131n\u0131 de\u011fi\u015ftirir.<\/li>\n<\/ul>\n\n\n\n<p>Dipnot olarak burada copy komutu ve move komutu fark\u0131n\u0131 \u00e7\u00f6z\u00fcmlemek \u00f6nemlidir.!<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>rm<\/strong>: &#8220;rm&#8221; komutu, dosyalar\u0131 veya dizinleri silmek i\u00e7in kullan\u0131l\u0131r. Belirtilen dosyay\u0131 veya dizini siler.<\/li>\n<\/ul>\n\n\n\n<p>bu komutun silme i\u015flemini ger\u00e7ekle\u015ftirmek i\u00e7in farkl\u0131 parametreleri bulunmaktad\u0131r. \u00d6rne\u011fin bir dizini Recursive olarak silmek isterseniz -R parametresiyle kullanman\u0131z gerekir.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>file<\/strong>: &#8220;file&#8221; komutu, belirtilen dosyan\u0131n t\u00fcr\u00fcn\u00fc belirler. Dosyan\u0131n t\u00fcr\u00fc hakk\u0131nda bilgi sa\u011flar; \u00f6rne\u011fin, bir metin dosyas\u0131 m\u0131 yoksa bir resim dosyas\u0131 m\u0131 oldu\u011funu belirler.<\/li>\n<\/ul>\n\n\n\n<p>T\u00fcm komutlarda oldu\u011fu gibi bu komutlarda da yard\u0131m komutlar\u0131n\u0131 (help-man) Kullanarak ilgili farkl\u0131 kullan\u0131mlar\u0131 hakk\u0131nda bilgi alabilirsiniz.<\/p>\n\n\n\n<p>&nbsp;Sorulara bakal\u0131m;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How would you create the file named &#8220;newnote&#8221;?<\/strong><\/li>\n<\/ul>\n\n\n\n<p><em>Touch newnote<\/em><\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"525\" height=\"97\" data-id=\"4023\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim2-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4023\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim2-1.webp 525w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim2-1-300x55.webp 300w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/figure>\n<\/figure>\n\n\n\n<p>Burada bir metin dosyas\u0131 olu\u015fturmadan bahsediyor. Bunun i\u00e7in kulland\u0131\u011f\u0131m\u0131z komut touch komutudur. Ve ilgili istenen dosya ismi ile soruyu yan\u0131tlayabilirsiniz.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On the deployable machine, what is the file type of &#8220;unknown1&#8221; in &#8220;tryhackme&#8217;s&#8221; home directory?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Burada bir metin dosyas\u0131 olu\u015fturmadan bahsediyor. Bunun i\u00e7in kulland\u0131\u011f\u0131m\u0131z komut touch komutudur. Ve ilgili istenen dosya ismi ile soruyu yan\u0131tlayabilirsiniz.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On the deployable machine, what is the file type of &#8220;unknown1&#8221; in &#8220;tryhackme&#8217;s&#8221; home directory?<\/strong><\/li>\n<\/ul>\n\n\n\n<p><em>ASCII text<\/em><\/p>\n\n\n\n<p>Yukar\u0131daki \u00e7\u0131kt\u0131da ilk \u00f6nce <strong>pwd<\/strong> komutu ile hangi dizinde \u00e7al\u0131\u015ft\u0131\u011f\u0131m\u0131z\u0131n bilgisini ekrana yazd\u0131r\u0131yoruz. Daha sonra <strong>\u201cls\u201d<\/strong> komutu ile bizden ara\u015ft\u0131r\u0131lmas\u0131 istenen dizini listeliyoruz. Tam da sorudaki gibi <strong>\u201cunknown1\u201d<\/strong> ad\u0131nda bir dosya var. Ve \u00f6\u011frendi\u011fimiz komutlara g\u00f6re <strong>file<\/strong> komutu bu dosya t\u00fcr\u00fcn\u00fc belirlemek i\u00e7in kullan\u0131labilirdi. \u0130lgili komutu \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131m\u0131zda \u00e7\u0131kt\u0131m\u0131z\u0131 cevap olarak alabilirsiniz \ud83d\ude0a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>How would we move the file &#8220;myfile&#8221; to the directory &#8220;myfolder&#8221;&nbsp;<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Mv komutunu kullan\u0131rken belirtmemiz gereken ilk nokta ilgili dosya olmal\u0131d\u0131r. Daha sonras\u0131nda ta\u015f\u0131mak istedi\u011finiz konumu belirtmeniz gerekir.<\/p>\n\n\n\n<p>Bu a\u00e7\u0131klamadan yola \u00e7\u0131karak <strong>\u201cmyfile\u201d<\/strong> ilgili dosyas\u0131n\u0131 hedef ald\u0131\u011f\u0131m\u0131z<strong> \u201cmyfolder\u201d <\/strong>dizinine ta\u015f\u0131mak i\u00e7in kullan\u0131lacak komut \u015fu \u015fekildedir;<\/p>\n\n\n\n<p><em>Mv myfile myfolder<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What are the contents of this file?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Bu soru \u00fcstteki soruda ta\u015f\u0131nmak istenen dosyan\u0131n i\u00e7eri\u011fi ile ilgili. \u0130\u00e7erisine girip bakt\u0131n\u0131zda, soruyu do\u011fru bir \u015fekilde yan\u0131tlayabilirsiniz.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"824\" height=\"61\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim4-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4024\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim4-1.webp 824w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim4-1-300x22.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim4-1-768x57.webp 768w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/figure>\n\n\n\n<p><em>THM{FILESYSTEM}<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Continue to apply your knowledge and practice the commands from this task.<\/strong><\/li>\n<\/ul>\n\n\n\n<p><em>No Answer needed<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Task-5\"><\/span>Task-5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bu b\u00f6l\u00fcmde yetkilendirme konusuna biraz de\u011finmi\u015f platform.<\/p>\n\n\n\n<p>Normal \u015fartlarda ilgili bir dizindeki dosyalar\u0131n detaylar\u0131n\u0131 g\u00f6r\u00fcnt\u00fclemek i\u00e7in<\/p>\n\n\n\n<p>\u201c<strong>ls -l\u201d <\/strong>komutunu kullanabiliyoruz.<\/p>\n\n\n\n<p>G\u00f6rselleri inceledi\u011finizde \u015fu \u015fekilde bir kullan\u0131m g\u00f6r\u00fcyorsunuz;<\/p>\n\n\n\n<p><strong>&#8220;ls -lh&#8221;<\/strong> \u015feklinde, bu komutu da, bir dizinin i\u00e7eri\u011fini detayl\u0131 olarak listelerken dosya boyutlar\u0131n\u0131 insan taraf\u0131ndan okunabilir formatta g\u00f6sterir.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"136\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim5-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4025\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim5-1.webp 782w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim5-1-300x52.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim5-1-768x134.webp 768w\" sizes=\"(max-width: 782px) 100vw, 782px\" \/><\/figure>\n\n\n\n<p>Sol k\u0131s\u0131mlar\u0131nda g\u00f6rm\u00fc\u015f oldu\u011funuz 9 karakter, ilgili dosya\/dizinin yetkilerini sizlere g\u00f6sterir.<\/p>\n\n\n\n<p>\u015eu \u015fekilde bir mant\u0131\u011fa sahip asl\u0131nda;<\/p>\n\n\n\n<p>3 kullan\u0131c\u0131 grubu mevcut : <strong>user-grup ve di\u011ferleri<\/strong><\/p>\n\n\n\n<p>3 izin t\u00fcr\u00fc mevcut : <strong>read-write-execute<\/strong> \u015feklinde<\/p>\n\n\n\n<p>Detaylar\u0131n\u0131 ara\u015ft\u0131rabilirsiniz!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"160\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim6-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4026\" style=\"width:829px;height:auto\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim6-1.webp 440w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim6-1-300x109.webp 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/figure>\n\n\n\n<p>Anlat\u0131mda bahsedilen di\u011fer bir nokta ise kullan\u0131c\u0131lar aras\u0131nda ge\u00e7i\u015f yapmak<\/p>\n\n\n\n<p>Bunun i\u00e7in <strong>switch user<\/strong> komutunu yani <strong>\u201csu\u201d<\/strong> kullanabilirsiniz.<\/p>\n\n\n\n<p>Ge\u00e7i\u015f yapmak istedi\u011finiz kullan\u0131c\u0131n\u0131n password\u00fcn\u00fc girdi\u011finiz durumda ge\u00e7i\u015f sa\u011flayabilirsiniz.<\/p>\n\n\n\n<p>Farkl\u0131 kullan\u0131m se\u00e7eneklerini anlat\u0131m metninden inceleyebilirsiniz.<\/p>\n\n\n\n<p>Sorulara bakal\u0131m;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On the deployable machine, who is the owner of &#8220;important&#8221;?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u0130mportant ad\u0131ndaki dosyan\u0131n sahibini soruyor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"142\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim7-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4027\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim7-1.webp 815w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim7-1-300x52.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim7-1-768x134.webp 768w\" sizes=\"(max-width: 815px) 100vw, 815px\" \/><\/figure>\n\n\n\n<p><em>User2<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What would the command be to switch to the user &#8220;user2&#8221;?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Kullan\u0131c\u0131 de\u011fi\u015ftirmek i\u00e7in <strong>su (switch user)<\/strong> komutunu kullanabiliriz.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"94\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim8-1.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4028\" style=\"width:853px;height:auto\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim8-1.webp 786w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim8-1-300x36.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim8-1-768x92.webp 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/figure>\n\n\n\n<p><em>Su user2<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Now switch to this user &#8220;user2&#8221; using the password &#8220;user2&#8221;<\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong>We did <\/strong><strong>\ud83d\ude0a<\/strong><\/p>\n\n\n\n<p><em>No answer needed<\/em><\/p>\n\n\n\n<p><strong>Output the contents of &#8220;important&#8221;, what is the flag?<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"219\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim9.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4029\" style=\"width:871px;height:auto\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim9.webp 720w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim9-300x91.webp 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n\n<p><em>THM{SU_USER2}<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Task-6\"><\/span>Task-6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Bu b\u00f6l\u00fcmde ilerde \u00e7ok\u00e7a kar\u015f\u0131n\u0131za \u00e7\u0131kabilecek file sistem yap\u0131s\u0131n\u0131n baz\u0131lar\u0131ndan bahsediyor.<\/p>\n\n\n\n<p>\u015eu \u015fekilde bir kaynak koyuyorum buraya, anlat\u0131mda olmayan;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"316\" height=\"465\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim10.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4030\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim10.webp 316w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim10-204x300.webp 204w\" sizes=\"(max-width: 316px) 100vw, 316px\" \/><\/figure>\n\n\n\n<p>Sorulara bakt\u0131\u011f\u0131m\u0131zda;<\/p>\n\n\n\n<p>\u0130lk soruda cevap beklenmiyor<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What is the directory path that would we expect logs to be stored in?<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"871\" height=\"100\" src=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim11.webp\" alt=\"Linux Fundamentals\" class=\"wp-image-4031\" srcset=\"https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim11.webp 871w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim11-300x34.webp 300w, https:\/\/bilisimacademy.com\/blog\/wp-content\/uploads\/2024\/05\/Resim11-768x88.webp 768w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>Kali Linux i\u015fletim sisteminde, g\u00fcnl\u00fck dosyalar\u0131 genellikle &#8220;\/var\/log&#8221; dizininde saklan\u0131r.<\/p>\n\n\n\n<p><em>\/var\/log<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>What root directory is similar to how RAM on a computer works?<\/strong><\/li>\n<\/ul>\n\n\n\n<p>&#8220;\/tmp&#8221; dizini, ge\u00e7ici dosyalar\u0131n depoland\u0131\u011f\u0131 bir k\u00f6k dizindir ve RAM&#8217;in i\u015fleyi\u015fine benzer bir y\u00f6n\u00fc vard\u0131r \u00e7\u00fcnk\u00fc bu dizin, ge\u00e7ici verilerin depolanmas\u0131 i\u00e7in RAM&#8217;den faydalan\u0131r.<\/p>\n\n\n\n<p><em>\/tmp<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Name the home directory of the root user&nbsp;<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Root kullan\u0131c\u0131s\u0131n\u0131n ana dizini&nbsp; &#8220;\/root&#8221; dizinidir.<\/p>\n\n\n\n<p>\/root<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Now apply your learning and navigate through these directories on the deployed Linux machine.<\/strong><\/li>\n<\/ul>\n\n\n\n<p><em>No answer needed<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Task-7\"><\/span>Task-7<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Geldik sonu\u00e7 ve \u00f6zet b\u00f6l\u00fcm\u00fcne;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Uzaktan Eri\u015fim<\/strong>: SSH ile Linux&#8217;a uzaktan ba\u011flanma.<\/li>\n\n\n\n<li><strong>Komut Kullan\u0131m\u0131<\/strong>: Komutlar, bayraklar ve man sayfalar\u0131 hakk\u0131nda bilgi.<\/li>\n\n\n\n<li><strong>Dosya \u0130\u015flemleri<\/strong>: Dosya sistemi komutlar\u0131 ve kullan\u0131m\u0131.<\/li>\n\n\n\n<li><strong>\u0130zinler ve Kullan\u0131c\u0131lar<\/strong>: Dosya izinleri ve kullan\u0131c\u0131 de\u011fi\u015ftirme.<\/li>\n\n\n\n<li><strong>K\u00f6k Dizinler ve Veri Depolama<\/strong>: \u00d6nemli k\u00f6k dizinleri ve i\u00e7erdikleri veriler.<\/li>\n<\/ul>\n\n\n\n<p>Konular hakk\u0131nda temel bilgilendirme i\u00e7eren keyifli bir odayd\u0131.<\/p>\n\n\n\n<p>Bu konular\u0131 daha iyi peki\u015ftirmek i\u00e7in bu odaya bir veya iki kez daha g\u00f6z atman\u0131z\u0131 tavsiye ederim. <a href=\"https:\/\/bilisimacademy.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Bili\u015fim Academy<\/a> olarak bu yolda sizlerle beraber ilerliyor olaca\u011f\u0131z. <\/p>\n\n\n\n<p>Serinin devam\u0131 i\u00e7in takipte kalmay\u0131 unutmay\u0131n \ud83d\ude0a<\/p>\n\n\n\n<p><a href=\"https:\/\/bilisimmedia.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">SEO ve Medya Planlama<\/a> \u00e7\u00f6z\u00fcm orta\u011f\u0131m\u0131z ile hizmetinizdeyiz!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu yaz\u0131m\u0131zda Tryhackme Linux Fundamentals Part 2 odas\u0131n\u0131 ele alaca\u011f\u0131z. Toplamda 8 b\u00f6l\u00fcmden olu\u015fan bir oda ve temel bilgileri h\u0131zl\u0131 bir \u015fekilde \u00f6\u011frenebilece\u011finiz g\u00fczel bir i\u00e7erik olu\u015fturulmu\u015f. H\u0131zl\u0131 bir giri\u015f yap\u0131p b\u00f6l\u00fcmlerimizi \u00e7\u00f6z\u00fcmlemeye ba\u015flayal\u0131m. Keyifli okumalar \ud83d\ude0a Task-1 ve Task-2 b\u00f6l\u00fcmlerini okuman\u0131z bekleniyor. \u0130lgili ayarlar\u0131 diledi\u011finiz gibi yapabilirsiniz. Task-3 Bu b\u00f6l\u00fcmde, linux i\u015fletim sisteminde \u00e7ok\u00e7a [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":4021,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[41],"tags":[],"class_list":["post-2890","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tryhackme-walkthrough"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/posts\/2890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=2890"}],"version-history":[{"count":5,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/posts\/2890\/revisions"}],"predecessor-version":[{"id":4033,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/posts\/2890\/revisions\/4033"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/media\/4021"}],"wp:attachment":[{"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=2890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/categories?post=2890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bilisimacademy.com\/blog\/wp-json\/wp\/v2\/tags?post=2890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}