<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Pixi,<br>
</p>
<div class="moz-cite-prefix">Am 23.02.22 um 15:39 schrieb Pixelbog
Pixi:<br>
</div>
<blockquote type="cite"
cite="mid:DU2P193MB2113E52C43D4DD1A08AC9281DE3C9@DU2P193MB2113.EURP193.PROD.OUTLOOK.COM">
<div>
Dear Ubuntu-Team,</div>
<div>
<br>
</div>
<div>
I have a question:</div>
<div>
Is it possible to add the command <span>​<b>mkcd</b></span><span><b>​</b>?
<br>
</span></div>
<div>
<span>It stands for </span><b><span>m</span></b><span>a</span><b><span>k</span></b><span>e
&
</span><span><b>c</b></span><span>hange
</span><span><b>d</b></span><span>irectory and I think it will
be super usefull.</span></div>
<div>
<span><br>
</span></div>
<div>
<span>It happened already way too often that I typed "</span><b><span>mk
foo && cd foo</span></b><span>" and</span></div>
<div>
<span>with </span><b><span>mkcd</span></b><span> it will save 8
keystrokes for the example "foo".
<br>
</span></div>
</blockquote>
<p>The most easy way for you is function in you .bashrc (in the
homedir)</p>
<p>Just include</p>
mkcd() { <br>
   #do things with parameters like $1 such as <br>
   make $1         <br>
   cd $1       <br>
} <br>
<br>
<p>Then you can use this command.</p>
<p>Hth!</p>
<p>Oliver</p>
<p><br>
</p>
</body>
</html>