{"id":2117,"date":"2026-06-17T07:02:02","date_gmt":"2026-06-17T07:02:02","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/"},"modified":"2026-07-25T23:31:23","modified_gmt":"2026-07-25T21:31:23","password":"","slug":"cum-utilizez-comanda-cat-pe-un-server-dedicat-linux","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/","title":{"rendered":"Cum folosesc comanda \u201ecat&#8221; pe un server Linux?"},"content":{"rendered":"<p>Comanda <strong>cat<\/strong> (\u201econcatenate&#8221;) afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor text f\u0103r\u0103 a le deschide \u00eentr-un editor \u2014 util mai ales pentru fi\u0219iere mari sau pentru cele din <code>\/proc<\/code>.<\/p>\n<p><strong>Citirea unui fi\u0219ier:<\/strong><\/p>\n<pre>cat logfile.txt<\/pre>\n<p><strong>Pagin\u0103 cu pagin\u0103<\/strong> (pentru fi\u0219iere mari):<\/p>\n<pre>cat logfile.txt | less<\/pre>\n<p><strong>Salvarea unui output \u00eentr-un fi\u0219ier:<\/strong><\/p>\n<pre>cat \/proc\/cpuinfo &gt; \/home\/user\/cpu-info.txt<\/pre>\n<p><strong>Concatenarea mai multor fi\u0219iere:<\/strong><\/p>\n<pre>cat fisier1 fisier2 fisier3 &gt; output.txt<\/pre>\n<p>Pentru detalii: <code>man cat<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comanda cat (\u201econcatenate&#8221;) afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor text f\u0103r\u0103 a le deschide \u00eentr-un editor \u2014 util mai ales pentru fi\u0219iere mari sau pentru cele din \/proc. Citirea unui fi\u0219ier: cat logfile.txt Pagin\u0103 cu pagin\u0103 (pentru fi\u0219iere mari): cat logfile.txt | less Salvarea unui output \u00eentr-un fi\u0219ier: cat \/proc\/cpuinfo &gt; \/home\/user\/cpu-info.txt Concatenarea mai multor fi\u0219iere: cat fisier1 &#8230; <a title=\"Cum folosesc comanda \u201ecat&#8221; pe un server Linux?\" class=\"read-more\" href=\"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/\" aria-label=\"Cite\u0219te mai multe despre Cum folosesc comanda \u201ecat&#8221; pe un server Linux?\">Cite\u0219te mai mult<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":1378,"footnotes":""},"doc_category":[201],"doc_tag":[292,243,289,300],"class_list":["post-2117","docs","type-docs","status-publish","hentry","doc_category-linux","doc_tag-depanare","doc_tag-linia-de-comanda","doc_tag-linux","doc_tag-terminal"],"year_month":"2026-09","word_count":77,"total_views":"30","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"Linux","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/linux\/"}],"doc_tag_info":[{"term_name":"depanare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/depanare\/"},{"term_name":"linia de comand\u0103","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/linia-de-comanda\/"},{"term_name":"Linux","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/linux\/"},{"term_name":"terminal","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/terminal\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-25T21:31:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\\\/\",\"name\":\"Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T07:02:02+00:00\",\"dateModified\":\"2026-07-25T21:31:23+00:00\",\"description\":\"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum folosesc comanda \u201ecat&#8221; pe un server Linux?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX","description":"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/","og_locale":"ro_RO","og_type":"article","og_title":"Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX","og_description":"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-25T21:31:23+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/","url":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/","name":"Comanda cat pe Linux - Ghid complet \u0219i exemple - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T07:02:02+00:00","dateModified":"2026-07-25T21:31:23+00:00","description":"Ghid complet despre comanda cat pe Linux. Afi\u0219eaz\u0103 con\u021binutul fi\u0219ierelor, concateneaz\u0103 mai multe fi\u0219iere \u0219i salveaz\u0103 output-ul. Exemple practice incluse.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-utilizez-comanda-cat-pe-un-server-dedicat-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum folosesc comanda \u201ecat&#8221; pe un server Linux?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=2117"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2117\/revisions"}],"predecessor-version":[{"id":5724,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2117\/revisions\/5724"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=2117"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=2117"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=2117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}