<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Ahoj!<div><br></div><div>man bash, sekce command:</div><div><br></div><div><div><font face="monospace, monospace">       command [-pVv] command [arg ...]</font></div><div><font face="monospace, monospace">              Run  command  with  args  suppressing  the normal shell function</font></div><div><font face="monospace, monospace">              lookup.  Only builtin commands or commands found in the PATH are</font></div><div><font face="monospace, monospace">              executed.   If the -p option is given, the search for command is</font></div><div><font face="monospace, monospace">              performed using a default value for PATH that is  guaranteed  to</font></div><div><font face="monospace, monospace">              find  all  of  the  standard  utilities.  If either the -V or -v</font></div><div><font face="monospace, monospace">              option is supplied, a description of command is printed.  <b>The -v</b></font></div><div><font face="monospace, monospace"><b>              option  causes  a single word indicating the command or filename</b></font></div><div><font face="monospace, monospace"><b>              used to invoke command to be displayed; the -V option produces a</b></font></div><div><font face="monospace, monospace"><b>              more  verbose  description.</b>  If the -V or -v option is supplied,</font></div><div><font face="monospace, monospace">              the exit status is 0 if command was found, and  1  if  not.   If</font></div><div><font face="monospace, monospace">              neither option is supplied and an error occurred or command can‐</font></div><div><font face="monospace, monospace">              not be found, the exit status is 127.  Otherwise, the exit  sta‐</font></div><div><font face="monospace, monospace">              tus of the command builtin is the exit status of command.</font></div></div><div><br></div><div>Hm, tam to moc vysvětlené není.<br></div><div><br></div><div>Ale asi to bude tohle:</div><div><br></div><div><a href="https://unix.stackexchange.com/questions/105876/what-does-rm-is-hashed-mean">https://unix.stackexchange.com/questions/105876/what-does-rm-is-hashed-mean</a><br></div><div><br></div><div>PM</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">út 5. 2. 2019 v 9:49 odesílatel Michal Porteš <<a href="mailto:portes@post.cz">portes@post.cz</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Dobrý den,</div><div>omlouvám se, pokud se můj první dotaz týká spíš Linuxu než Pythonu, ale uměl by mi někdo vysvětlit, co že jsem se to vlastně dozvěděl z následujících příkazů v terminálu?</div><div><br></div><div><br></div><div><div>$ command -v pip</div><div>/home/michal/.local/bin/pip</div><div>$ command -v pip3</div><div>/home/michal/.local/bin/pip3</div><div><br></div><div>$ command -V pip</div><div>pip is hashed (/home/michal/.local/bin/pip)</div><div>$ command -V pip3</div><div>pip3 is /home/michal/.local/bin/pip3</div></div><div><br></div><div><br></div><div>Konkrétně, proč je u pip ta zmínka o "hashed", zatímco u pip3 nikoliv?</div><div><br></div><div>Díky.</div><div><br></div><div>Michal</div><div><br></div></div>_______________________________________________<br>
Python mailing list<br>
<a href="mailto:python@py.cz" target="_blank">python@py.cz</a><br>
<a href="http://www.py.cz/mailman/listinfo/python" rel="noreferrer" target="_blank">http://www.py.cz/mailman/listinfo/python</a><br>
<br>
Visit: <a href="http://www.py.cz" rel="noreferrer" target="_blank">http://www.py.cz</a><br>
</blockquote></div></div>