{"id":2618,"date":"2025-07-18T14:55:28","date_gmt":"2025-07-18T13:55:28","guid":{"rendered":"https:\/\/workboot.fr\/ciela\/?page_id=2618"},"modified":"2025-07-18T14:55:29","modified_gmt":"2025-07-18T13:55:29","slug":"fonctions-logiques-en-shell-bash","status":"publish","type":"page","link":"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/","title":{"rendered":"Fonctions logiques en shell bash"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">La condition ET (AND)  <\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>action1\u00a0&amp;&amp; action2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">l&rsquo;action2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 c&rsquo;est bien d\u00e9roul\u00e9e.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">La condition  OU (OR)<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>action1 || action2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">l&rsquo;actions=2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 ne c&rsquo;est pas bien termin\u00e9e. (code de sortie &lt;&gt;0 )<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>La condition ET (AND) l&rsquo;action2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 c&rsquo;est bien d\u00e9roul\u00e9e. La condition OU (OR) l&rsquo;actions=2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 ne c&rsquo;est pas bien termin\u00e9e. (code de sortie &lt;&gt;0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-2618","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fonctions logiques en shell bash - workboot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fonctions logiques en shell bash - workboot\" \/>\n<meta property=\"og:description\" content=\"La condition ET (AND) l&rsquo;action2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 c&rsquo;est bien d\u00e9roul\u00e9e. La condition OU (OR) l&rsquo;actions=2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 ne c&rsquo;est pas bien termin\u00e9e. (code de sortie &lt;&gt;0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/\" \/>\n<meta property=\"og:site_name\" content=\"workboot\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-18T13:55:29+00:00\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fonctions-logiques-en-shell-bash\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fonctions-logiques-en-shell-bash\\\/\",\"name\":\"Fonctions logiques en shell bash - workboot\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\"},\"datePublished\":\"2025-07-18T13:55:28+00:00\",\"dateModified\":\"2025-07-18T13:55:29+00:00\",\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/workboot.fr\\\/ciela\\\/fonctions-logiques-en-shell-bash\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#website\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"name\":\"workboot\",\"description\":\"Open Source, Open Minds \",\"publisher\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#organization\",\"name\":\"workboot\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"contentUrl\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/logo_ciel-dorian-1.png\",\"width\":1024,\"height\":950,\"caption\":\"workboot\"},\"image\":{\"@id\":\"https:\\\/\\\/workboot.fr\\\/ciela\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fonctions logiques en shell bash - workboot","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:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/","og_locale":"fr_FR","og_type":"article","og_title":"Fonctions logiques en shell bash - workboot","og_description":"La condition ET (AND) l&rsquo;action2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 c&rsquo;est bien d\u00e9roul\u00e9e. La condition OU (OR) l&rsquo;actions=2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 ne c&rsquo;est pas bien termin\u00e9e. (code de sortie &lt;&gt;0 [&hellip;]","og_url":"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/","og_site_name":"workboot","article_modified_time":"2025-07-18T13:55:29+00:00","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/","url":"https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/","name":"Fonctions logiques en shell bash - workboot","isPartOf":{"@id":"https:\/\/workboot.fr\/ciela\/#website"},"datePublished":"2025-07-18T13:55:28+00:00","dateModified":"2025-07-18T13:55:29+00:00","inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/workboot.fr\/ciela\/fonctions-logiques-en-shell-bash\/"]}]},{"@type":"WebSite","@id":"https:\/\/workboot.fr\/ciela\/#website","url":"https:\/\/workboot.fr\/ciela\/","name":"workboot","description":"Open Source, Open Minds ","publisher":{"@id":"https:\/\/workboot.fr\/ciela\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/workboot.fr\/ciela\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/workboot.fr\/ciela\/#organization","name":"workboot","url":"https:\/\/workboot.fr\/ciela\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/","url":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","contentUrl":"https:\/\/workboot.fr\/ciela\/wp-content\/uploads\/2025\/05\/logo_ciel-dorian-1.png","width":1024,"height":950,"caption":"workboot"},"image":{"@id":"https:\/\/workboot.fr\/ciela\/#\/schema\/logo\/image\/"}}]}},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/workboot.fr\/ciela\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"La condition ET (AND) l&rsquo;action2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 c&rsquo;est bien d\u00e9roul\u00e9e. La condition OU (OR) l&rsquo;actions=2 pourra s\u2019ex\u00e9cuter si l&rsquo;action1 ne c&rsquo;est pas bien termin\u00e9e. (code de sortie &lt;&gt;0 [&hellip;]","_links":{"self":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/2618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/comments?post=2618"}],"version-history":[{"count":1,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/2618\/revisions"}],"predecessor-version":[{"id":2620,"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/pages\/2618\/revisions\/2620"}],"wp:attachment":[{"href":"https:\/\/workboot.fr\/ciela\/wp-json\/wp\/v2\/media?parent=2618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}