{"id":91336,"date":"2020-08-11T19:42:37","date_gmt":"2020-08-11T17:42:37","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu"},"modified":"2020-08-11T19:42:37","modified_gmt":"2020-08-11T17:42:37","slug":"post-nenavisti-k-moguchemu-shellu","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu","title":{"rendered":"Postimi i urrejtjes ndaj Shellet t\u00eb Fuqish\u00ebm","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Ka nj\u00eb her\u00eb shkruajta nj\u00eb skript t\u00eb thjesht\u00eb, q\u00eb fshin n\u00eb nj\u00eb direktor t\u00eb caktuar t\u00eb gjitha n\u00ebn-direktorit\u00eb me emrat e dh\u00ebn\u00eb:<\/p>\n<pre><code class=\"powershell\">Remove-Item * -Force -Recurse -Include name1,name2,name3 -ErrorAction SilentlyContinue<\/code><\/pre>\n<p>\nNuk e kam p\u00ebrdorur prej koh\u00ebsh, por tani m\u00eb duhej. E nisa - nuk fshiu asgj\u00eb.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n\u00ab\u00c7far\u00eb!?\u00bb, mendoj. Fillova t\u00eb hulumtoj. Po merrem e merrem, kam p\u00ebrmendur gjith\u00e7ka, kam krijuar nj\u00eb list\u00eb paraprake, dhe kam ndryshuar emrat \u2014 prap\u00eb nuk fshin asgj\u00eb. N\u00eb fund, lexova n\u00eb dokumentacionin e tyre: &quot;<i>N\u00eb fakt, -Include ka probleme kur p\u00ebrdoret me -Recurse, prandaj p\u00ebrdorni nj\u00eb konstruksion t\u00eb ndihm\u00ebs.<\/i>&quot;:<\/p>\n<blockquote><p>P\u00ebr shkak se parametrat Recurse n\u00eb Remove-Item kan\u00eb nj\u00eb problem t\u00eb njohur, komand\u00ebn n\u00eb k\u00ebt\u00eb shembull e p\u00ebrdor Get-ChildItem p\u00ebr t\u00eb marr\u00eb skedaret e d\u00ebshiruara, dhe pastaj p\u00ebrdor operatorin e pipeline p\u00ebr t'i kaluar ato n\u00eb Remove-Item.<\/p><\/blockquote>\n<p>\nMir\u00eb, e rib\u00ebra duke e p\u00ebrdorur k\u00ebt\u00eb truk. Prap\u00eb - asgj\u00eb nuk fshihet. M\u00eb shum\u00eb se kaq, <i>Get-ChildItem<\/i> me <i>-Include<\/i> kthen boshll\u00ebk. Prap\u00eb, \u00e7far\u00eb nuk b\u00ebra, si nuk nj\u00ebndryshova parametrat - nuk funksionon. M\u00eb e r\u00ebnd\u00ebsishmja, me <i>-Exclude<\/i> punon, ndryshe nga <i>-Include<\/i> asnj\u00ebher\u00eb. Kalova nj\u00eb dit\u00eb t\u00eb t\u00ebr\u00eb mbi k\u00ebt\u00eb: mendoja se ndoshta kisha b\u00ebr\u00eb ndonj\u00eb gabim n\u00eb parameter, se kisha anashkaluar ndonj\u00eb nuanc\u00eb t\u00eb holl\u00eb. Dhe \u00e7far\u00eb doli n\u00eb fund? E instalova PS7.1 - aty funksionoi. Aty madje versioni i par\u00eb pa ndihm\u00ebn q\u00eb p\u00ebrdora vet\u00ebm <i>Remove-Item<\/i> ka funksionuar. Pra, doli t\u00eb ishte nj\u00eb defekt i tyre.<\/p>\n<p>Por pasi u mundova me Shell-in e tyre t\u00eb Fuqish\u00ebm, fillova t\u00eb k\u00ebrkoj n\u00eb Google p\u00ebrse sintaksa e tyre \u00ebsht\u00eb kaq e nd\u00ebrlikuar. Pohoj, ata e pozicionojn\u00eb at\u00eb si .NET p\u00ebr konsola, por sintaksa e C# nuk ka asnj\u00eb shenj\u00eb. N\u00eb vend t\u00eb saj...<\/p>\n<p>P\u00ebrve\u00e7 k\u00ebsaj, u nisa n\u00eb nj\u00eb artikull t\u00eb till\u00eb: &quot;<noindex><a rel=\"nofollow\" href=\"https:\/\/helgeklein.com\/blog\/2014\/11\/hate-powershell\/\">What I Hate About PowerShell<\/a><\/noindex>&quot;. Si\u00e7 thon\u00eb: \u00abNuk mund t\u00eb pajtohem m\u00eb shum\u00eb.\u00bb<\/p>\n<p>Dyshoj se ekipi i Mosh\u00ebs s\u00eb Fuqishme \u00ebsht\u00eb nj\u00eb grup adhuruesish t\u00eb Bash&#8217;it.<\/p>\n<p><i> \u2014 Le t\u00eb krijojm\u00eb n\u00eb fund nj\u00eb konsol p\u00ebr Windows ku t\u00eb mund t\u00eb shkruajm\u00eb skripta t\u00eb sofistikuara. Se cmd yn\u00eb ka mbetur prapa, aq sa na vjen pak turp.<br \/>\n \u2014 Le t'i b\u00ebjm\u00eb! \u00c7far\u00eb do t\u00eb p\u00ebrdorim? Ne tashm\u00eb kemi VBScript, JScript. N\u00eb fund, kemi gjuh\u00ebt p\u00ebr .NET: C#, VB. A nuk mund ta b\u00ebjm\u00eb n\u00eb C#? Do t\u00eb thot\u00eb, do ta p\u00ebrdorim C# si gjuh\u00eb skriptimi p\u00ebr konsol\u00ebn ton\u00eb. Sidomos, ne duam t\u00eb sjellim klasat .NET.<br \/>\n \u2014 Jo, mos me thuaj, \u00e7far\u00eb C#? Gikat e v\u00ebrtet\u00eb p\u00ebrdorin bash! Prandaj le t\u00eb b\u00ebjm\u00eb bash p\u00ebr Windows. Nuk ka r\u00ebnd\u00ebsi se sintaksa p\u00ebr bash-in \u00ebsht\u00eb shkruar, duket, nga nj\u00eb turm\u00eb pasionant\u00ebsh n\u00eb vitet 1960. N\u00eb p\u00ebrgjith\u00ebsi, sa m\u00eb e komplikuar, aq m\u00eb mir\u00eb! Qart\u00eb\u00ebsia intuitiviteti - \u00ebsht\u00eb p\u00ebr t\u00eb dob\u00ebtit! Gjat\u00eb shkruajtjes s\u00eb skriptit n\u00eb gjuh\u00ebn ton\u00eb, p\u00ebrdoruesi duhet patjet\u00ebr t\u00eb mallkoj\u00eb gjith\u00e7ka dhe t\u00eb shpik\u00eb disa t\u00eb reja fjal\u00eb ofendimi. Vet\u00ebm nj\u00eb gjuh\u00eb e till\u00eb ka t\u00eb drejt\u00eb t\u00eb jetoj\u00eb. Po, linuksoid\u00ebt gjithmon\u00eb jetojn\u00eb k\u00ebshtu dhe g\u00ebzojn\u00eb nga kjo p\u00ebrvoj\u00eb t\u00eb pap\u00ebrshkruar. \u00c7far\u00eb i b\u00ebn ata m\u00eb t\u00eb mir\u00eb se ne?<\/i><\/p>\n<p class=\"for_users_only_msg\">Vet\u00ebm p\u00ebrdoruesit e regjistruar mund t\u00eb marrin pjes\u00eb n\u00eb anket\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Hyni<\/a><\/noindex>, ju lutemi.<\/p>\n<h2 class=\"default-block__polling-title\">A e p\u00ebrdorni PowerShell dhe a jeni t\u00eb k\u00ebnaqur?<\/h2>\n<ul class=\"poll-result\">\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent  poll-result__data-percent_winner\">30,3%<\/strong>Nuk e p\u00ebrdor<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">29,6%<\/strong>Kam provuar - nuk m\u00eb p\u00eblqeu<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">23,5%<\/strong>E p\u00ebrdor dhe jam i k\u00ebnaqur<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">12,9%<\/strong>E p\u00ebrdor, por nuk jam i k\u00ebnaqur<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">3,8%<\/strong>Hurrah! N\u00eb fund mund ta p\u00ebrdor bash-in tim t\u00eb preferuar n\u00eb Windows!<\/p>\n<\/li>\n<\/ul>\n<p>    132 p\u00ebrdorues kan\u00eb votuar. 26 p\u00ebrdorues abstenuan.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/514608\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430\u043f\u0438\u0441\u0430\u043b \u044f \u043a\u0430\u043a-\u0442\u043e \u0434\u0430\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u0443\u0434\u0430\u043b\u044f\u044e\u0449\u0438\u0439 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432\u0441\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438: Remove-Item * -Force -Recurse -Include name1,name2,name3 -ErrorAction SilentlyContinue \u0414\u0430\u0432\u043d\u043e \u0438\u043c \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f, \u0430 \u0442\u0443\u0442 \u043e\u043d \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u0441\u044f. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u2014 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0443\u0434\u0430\u043b\u0438\u043b. \u00abWTF?\u00bb, \u0434\u0443\u043c\u0430\u044e. \u0421\u0442\u0430\u043b \u043a\u043e\u043f\u0430\u0442\u044c\u0441\u044f. \u0412\u043e\u0437\u0438\u043b\u0441\u044f-\u0432\u043e\u0437\u0438\u043b\u0441\u044f, \u0432\u0441\u0451 \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u043b, \u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043b, \u0438 \u0438\u043c\u0435\u043d\u0430 \u043c\u0435\u043d\u044f\u043b \u2014 \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043d\u0438\u0447\u0435\u0433\u043e [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-91336","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043b \u044f \u043a\u0430\u043a-\u0442\u043e \u0434\u0430\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u0443\u0434\u0430\u043b\u044f\u044e\u0449\u0438\u0439 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432\u0441\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438: Remove-Item * -Force -Recurse -Include name1,name2,name3.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041f\u043e\u0441\u0442 \u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u0438 \u043a \u041c\u043e\u0433\u0443\u0447\u0435\u043c\u0443 \u0428\u0435\u043b\u043b\u0443 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043b \u044f \u043a\u0430\u043a-\u0442\u043e \u0434\u0430\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u0443\u0434\u0430\u043b\u044f\u044e\u0449\u0438\u0439 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432\u0441\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438: Remove-Item * -Force -Recurse -Include name1,name2,name3.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-11T17:42:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-11T17:42:37+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Posti i urrejtjes ndaj Shell-it t\u00eb Fuqish\u00ebm | ProHoster","description":"Disa nj\u00ebher\u00eb nj\u00eb skript t\u00eb thjesht\u00eb q\u00eb fshin t\u00eb gjitha n\u00ebn-drejtori me emra t\u00eb caktuar n\u00eb direktorin\u00eb e dh\u00ebn\u00eb: Remove-Item * -Force -Recurse -Include name1,name2,name3.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041f\u043e\u0441\u0442 \u043d\u0435\u043d\u0430\u0432\u0438\u0441\u0442\u0438 \u043a \u041c\u043e\u0433\u0443\u0447\u0435\u043c\u0443 \u0428\u0435\u043b\u043b\u0443 | ProHoster","og:description":"\u041d\u0430\u043f\u0438\u0441\u0430\u043b \u044f \u043a\u0430\u043a-\u0442\u043e \u0434\u0430\u0432\u043d\u043e \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442, \u0443\u0434\u0430\u043b\u044f\u044e\u0449\u0438\u0439 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432\u0441\u0435 \u043f\u043e\u0434\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438: Remove-Item * -Force -Recurse -Include name1,name2,name3.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/post-nenavisti-k-moguchemu-shellu","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-08-11T17:42:37+00:00","article:modified_time":"2020-08-11T17:42:37+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"91336","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 12:29:23","updated":"2022-09-29 06:55:23","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/91336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=91336"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/91336\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=91336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=91336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=91336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}