{"id":1369,"date":"2016-06-17T10:34:50","date_gmt":"2016-06-17T08:34:50","guid":{"rendered":"http:\/\/www.h-hennes.fr\/blog\/?p=1369"},"modified":"2016-06-17T10:34:50","modified_gmt":"2016-06-17T08:34:50","slug":"cmder-ajouter-des-alias","status":"publish","type":"post","link":"https:\/\/www.h-hennes.fr\/blog\/2016\/06\/17\/cmder-ajouter-des-alias\/","title":{"rendered":"Cmder : Ajouter des alias"},"content":{"rendered":"<p>En remplacement de l&rsquo;invite de commande windows standard, j&rsquo;utilise l&rsquo;excellente console alternative Cmder : <a href=\"http:\/\/cmder.net\/\">http:\/\/cmder.net\/<\/a><\/p>\n<p>Celle-ci impl\u00e9mente des commandes linux indispensables qui vont vous faciliter la vie ( ls, git , ssh &#8230; )<br \/>\nElle permet \u00e9galement de g\u00e9rer des alias qui vous ferons gagner un temps pr\u00e9cieux.<br \/>\nLe fonctionnement est l\u00e9g\u00e8rement diff\u00e9rent d&rsquo;une console linux standard, puisqu&rsquo;il ne faut pas \u00e9diter le fichier .bashrc<\/p>\n<p>Les modifications sont \u00e0 apporter dans le dossier ou Cmder est install\u00e9, dans le fichier <strong>\/config\/aliases<\/strong><\/p>\n<p>Vous pouvez par exemple simplifier vos connexion ssh en ajoutant des alias tel que :<\/p>\n<pre>sshherve= ssh herve@test.com -i \"C:\\Users\\myuser\\.ssh\\my_key\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>En remplacement de l&rsquo;invite de commande windows standard, j&rsquo;utilise l&rsquo;excellente console alternative Cmder : http:\/\/cmder.net\/ Celle-ci impl\u00e9mente des commandes linux indispensables qui vont vous faciliter la vie ( ls, git , ssh &#8230; ) Elle permet \u00e9galement de g\u00e9rer des alias qui vous ferons gagner un temps pr\u00e9cieux. Le fonctionnement est l\u00e9g\u00e8rement diff\u00e9rent d&rsquo;une console [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"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":"default","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":[6],"tags":[442,441,408],"class_list":["post-1369","post","type-post","status-publish","format-standard","hentry","category-trucs-et-astuces","tag-alias","tag-cmder","tag-windows"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/comments?post=1369"}],"version-history":[{"count":1,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":1370,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/1369\/revisions\/1370"}],"wp:attachment":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/media?parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/categories?post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/tags?post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}