{"id":473,"date":"2025-09-08T13:46:54","date_gmt":"2025-09-08T10:46:54","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=473"},"modified":"2025-10-26T14:21:40","modified_gmt":"2025-10-26T11:21:40","slug":"ubuntu-terminaline-tarih-ve-renk-ekleme","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/ubuntu-terminaline-tarih-ve-renk-ekleme\/","title":{"rendered":"Ubuntu Terminaline Tarih Ve Renk Ekleme"},"content":{"rendered":"<article class=\"text-token-text-primary w-full focus:outline-none scroll-mt-[calc(var(--header-height)+min(200px,max(70px,20svh)))]\" dir=\"auto\" tabindex=\"-1\" data-turn-id=\"request-WEB:791fe3ea-77f5-456d-a7dc-d31960731d92-6\" data-testid=\"conversation-turn-14\" data-scroll-anchor=\"true\" data-turn=\"assistant\">\n<div class=\"text-base my-auto mx-auto pb-10 [--thread-content-margin:--spacing(4)] thread-sm:[--thread-content-margin:--spacing(6)] thread-lg:[--thread-content-margin:--spacing(16)] px-(--thread-content-margin)\">\n<div class=\"[--thread-content-max-width:40rem] thread-sm:[--thread-content-max-width:40rem] thread-lg:[--thread-content-max-width:48rem] mx-auto max-w-(--thread-content-max-width) flex-1 group\/turn-messages focus-visible:outline-hidden relative flex w-full min-w-0 flex-col agent-turn\" tabindex=\"-1\">\n<div class=\"flex max-w-full flex-col grow\">\n<div class=\"min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal [.text-message+&amp;]:mt-5\" dir=\"auto\" data-message-author-role=\"assistant\" data-message-id=\"ca81acdb-d6c8-4857-99e8-b563103c48e0\" data-message-model-slug=\"gpt-4o\">\n<div class=\"flex w-full flex-col gap-1 empty:hidden first:pt-[3px]\">\n<div class=\"markdown prose dark:prose-invert w-full break-words dark markdown-new-styling\">\n<p data-start=\"228\" data-end=\"443\">Ubuntu i\u015fletim sisteminizde terminalinize <strong data-start=\"270\" data-end=\"279\">tarih<\/strong> ve <strong data-start=\"283\" data-end=\"291\">renk<\/strong> eklemek i\u00e7in a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 takip edebilirsiniz. Bu, terminalinizi daha kullan\u0131c\u0131 dostu hale getirecek ve \u00f6nemli bilgileri daha g\u00f6r\u00fcn\u00fcr k\u0131lacakt\u0131r.<\/p>\n<h3 data-start=\"445\" data-end=\"460\">\ud83d\udccb Ad\u0131mlar:<\/h3>\n<ol data-start=\"462\" data-end=\"1553\">\n<li data-start=\"462\" data-end=\"620\">\n<p data-start=\"465\" data-end=\"501\"><strong data-start=\"465\" data-end=\"501\"><code data-start=\"467\" data-end=\"477\">.profile<\/code> Dosyas\u0131n\u0131 D\u00fczenleyin:<\/strong><\/p>\n<p data-start=\"506\" data-end=\"582\">Terminalinizi a\u00e7\u0131n ve a\u015fa\u011f\u0131daki komutla <strong data-start=\"546\" data-end=\"560\"><code data-start=\"548\" data-end=\"558\">.profile<\/code><\/strong> dosyas\u0131n\u0131 d\u00fczenleyin:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">nano ~\/.profile<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li data-start=\"622\" data-end=\"953\">\n<p data-start=\"625\" data-end=\"657\"><strong data-start=\"625\" data-end=\"657\">PS1 De\u011fi\u015fkenini G\u00fcncelleyin:<\/strong><\/p>\n<p data-start=\"662\" data-end=\"711\">Dosyan\u0131n en alt k\u0131sm\u0131na a\u015fa\u011f\u0131daki sat\u0131r\u0131 ekleyin:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\"><span class=\"hljs-built_in\">export<\/span> PS1=<span class=\"hljs-string\">\"\\e[0;31m[\\d \\t] \\e[m \\e[0;33m[\\u@\\h:\\w ] \\e[m$ \"<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"799\" data-end=\"953\">Bu kod, terminalinizde <strong data-start=\"822\" data-end=\"846\">g\u00fcncel tarih ve saat<\/strong>, <strong data-start=\"848\" data-end=\"877\">kullan\u0131c\u0131 ad\u0131, makine ad\u0131<\/strong> ve <strong data-start=\"881\" data-end=\"898\">ge\u00e7erli dizin<\/strong> gibi bilgilerin renkli bir \u015fekilde g\u00f6r\u00fcnmesini sa\u011flar.<\/p>\n<\/li>\n<li data-start=\"955\" data-end=\"1173\">\n<p data-start=\"958\" data-end=\"987\"><strong data-start=\"958\" data-end=\"987\">De\u011fi\u015fiklikleri Uygulay\u0131n:<\/strong><\/p>\n<p data-start=\"992\" data-end=\"1074\"><strong data-start=\"992\" data-end=\"1004\">.profile<\/strong> dosyas\u0131ndaki de\u011fi\u015fikliklerin ge\u00e7erli olabilmesi i\u00e7in \u015fu komutu girin:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\"><span class=\"hljs-built_in\">source<\/span> ~\/.profile<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1119\" data-end=\"1173\">Bu i\u015flem, terminalinizin hemen g\u00fcncellenmesini sa\u011flar.<\/p>\n<\/li>\n<li data-start=\"1175\" data-end=\"1553\">\n<p data-start=\"1178\" data-end=\"1231\"><strong data-start=\"1178\" data-end=\"1231\">Alternatif Y\u00f6ntem \u2013 <code data-start=\"1200\" data-end=\"1209\">.bashrc<\/code> Dosyas\u0131n\u0131 Kullanma:<\/strong><\/p>\n<p data-start=\"1236\" data-end=\"1367\">E\u011fer terminalinizi kapat\u0131p a\u00e7t\u0131\u011f\u0131n\u0131zda yap\u0131lan de\u011fi\u015fiklikler kayboluyorsa, ayn\u0131 i\u015flemi <strong data-start=\"1323\" data-end=\"1338\"><code data-start=\"1325\" data-end=\"1336\">~\/.bashrc<\/code><\/strong> dosyas\u0131na da yapabilirsiniz:<\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs\"><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-bash\">nano ~\/.bashrc<br \/>\n<\/code><\/div>\n<\/div>\n<p data-start=\"1409\" data-end=\"1553\">Ard\u0131ndan, yukar\u0131daki <strong data-start=\"1430\" data-end=\"1437\">PS1<\/strong> sat\u0131r\u0131n\u0131 bu dosyaya da ekleyin ve tekrar <strong data-start=\"1479\" data-end=\"1501\"><code data-start=\"1481\" data-end=\"1499\">source ~\/.bashrc<\/code><\/strong> komutunu \u00e7al\u0131\u015ft\u0131rarak de\u011fi\u015fiklikleri ge\u00e7erli k\u0131l\u0131n.<\/p>\n<\/li>\n<\/ol>\n<hr data-start=\"1555\" data-end=\"1558\" \/>\n<h3 data-start=\"1560\" data-end=\"1598\">\ud83c\udfa8 Terminaliniz Art\u0131k Daha Renkli!<\/h3>\n<p data-start=\"1600\" data-end=\"1810\">Bu ad\u0131mlar\u0131 tamamlad\u0131ktan sonra terminaliniz, <strong data-start=\"1646\" data-end=\"1655\">tarih<\/strong>, <strong data-start=\"1657\" data-end=\"1665\">saat<\/strong>, <strong data-start=\"1667\" data-end=\"1688\">kullan\u0131c\u0131 bilgisi<\/strong> ve <strong data-start=\"1692\" data-end=\"1709\">ge\u00e7erli dizin<\/strong> bilgilerini renkli ve \u015f\u0131k bir \u015fekilde g\u00f6sterecek. Art\u0131k terminal kullan\u0131m\u0131 daha keyifli ve i\u015flevsel!<\/p>\n<hr data-start=\"1812\" data-end=\"1815\" \/>\n<p data-start=\"1817\" data-end=\"2092\" data-is-only-node=\"\">E\u011fer <strong data-start=\"1822\" data-end=\"1832\">Ubuntu<\/strong> \u00fczerinde ba\u015fka \u00f6zelle\u015ftirmeler veya terminalinize eklemek istedi\u011finiz yeni \u00f6zellikler varsa, <strong data-start=\"1926\" data-end=\"1937\">Narhost<\/strong>\u2019un sundu\u011fu farkl\u0131 rehberlere g\u00f6z atabilirsiniz. Y\u00fcksek verimlilik ve kullan\u0131c\u0131 dostu bir deneyim i\u00e7in her zaman size yard\u0131mc\u0131 olacak kaynaklar\u0131m\u0131z mevcut!<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"flex min-h-[46px] justify-start\"><\/div>\n<\/div>\n<\/div>\n<\/article>\n<div class=\"pointer-events-none h-px w-px\" aria-hidden=\"true\" data-edge=\"true\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu i\u015fletim sisteminizde terminalinize tarih ve renk eklemek i\u00e7in a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 takip edebilirsiniz. Bu, terminalinizi daha kullan\u0131c\u0131 dostu hale getirecek ve \u00f6nemli bilgileri daha g\u00f6r\u00fcn\u00fcr k\u0131lacakt\u0131r.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[50],"class_list":["post-473","post","type-post","status-publish","format-standard","hentry","category-vps-server","tag-ubuntu"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=473"}],"version-history":[{"count":5,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/473\/revisions"}],"predecessor-version":[{"id":843,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/473\/revisions\/843"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=473"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=473"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}