Code Search for Developers
 
 
  

node5.html from Gulus at Krugle


Show node5.html syntax highlighted

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta8 (1.42)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Se promener, chercher</TITLE>
<META NAME="description" CONTENT="Se promener, chercher">
<META NAME="keywords" CONTENT="talk_bash">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta8">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="talk_bash.css">

<LINK REL="next" HREF="node6.html">
<LINK REL="previous" HREF="node4.html">
<LINK REL="up" HREF="talk_bash.html">
<LINK REL="next" HREF="node6.html">
</HEAD>

<BODY >

<A NAME="tex2html201"
  HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="./icons/next.png"></A> 
<A NAME="tex2html197"
  HREF="talk_bash.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="./icons/up.png"></A> 
<A NAME="tex2html191"
  HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="./icons/prev.png"></A> 
<A NAME="tex2html199"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="./icons/contents.png"></A>  <BR>
<B> Next:</B> <A NAME="tex2html202"
  HREF="node6.html">Créer</A>
<B>Up:</B> <A NAME="tex2html198"
  HREF="talk_bash.html">La console - version</A>
<B> Previous:</B> <A NAME="tex2html192"
  HREF="node4.html">Voir et connaître</A>
<BR> <HR> <P>

<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Sous-sections</STRONG></A>

<UL>
<LI><A NAME="tex2html203"
  HREF="node5.html#SECTION00051000000000000000">cd -- changer de répertoire courant</A>
<LI><A NAME="tex2html204"
  HREF="node5.html#SECTION00052000000000000000">locate -- trouver un fichier</A>
<LI><A NAME="tex2html205"
  HREF="node5.html#SECTION00053000000000000000">grep</A>
<LI><A NAME="tex2html206"
  HREF="node5.html#SECTION00054000000000000000">find -- recherche avancée de fichiers</A>
</UL>
<!--End of Table of Child-Links-->
<HR>

<H1><A NAME="SECTION00050000000000000000">
Se promener, chercher</A>
</H1>

<P>
<A NAME="lien:1"></A>
<P>

<H2><A NAME="SECTION00051000000000000000"></A>
<A NAME="sub:cd"></A>
<BR>
cd -- changer de répertoire courant
</H2>
<DL>
<DT><STRONG>cd:</STRONG></DT>
<DD>Change le répertoire courant pour RÉPERTOIRE. (défaut: retourne à la souche (home, ~) répertoire personnel).
</DD>
<DT><STRONG>Usage:</STRONG></DT>
<DD>cd [RÉPERTOIRE]
</DD>
</DL>

<P>

<H2><A NAME="SECTION00052000000000000000"></A>
<A NAME="sub:locate"></A>
<BR>
locate -- trouver un fichier
</H2>
<DL>
<DT><STRONG>locate:</STRONG></DT>
<DD>Cherche rapidement un PATRON dans le système.
</DD>
<DT><STRONG>Usage:</STRONG></DT>
<DD>locate PATRON
</DD>
</DL>

<P>

<H2><A NAME="SECTION00053000000000000000"></A>
<A NAME="sub:grep"></A>
<BR>
grep
</H2>
<DL>
<DT><STRONG>grep:</STRONG></DT>
<DD>cherche le PATRON dans chaque FICHIER.
</DD>
<DT><STRONG>Usage:</STRONG></DT>
<DD>grep [OPTION]... PATRON [FICHIER] ...
</DD>
<DT><STRONG>Options:</STRONG></DT>
<DD><DL>
<DT><STRONG>-n</STRONG></DT>
<DD>= afficher le numéro de la ligne contenant le patron recherché
</DD>
<DT><STRONG>-H</STRONG></DT>
<DD>= afficher le nom du fichier contenant le patron recherché
</DD>
</DL>
</DD>
</DL>

<P>

<H2><A NAME="SECTION00054000000000000000"></A>
<A NAME="sub:find"></A>
<BR>
find -- recherche avancée de fichiers
</H2>

<P>
Un peu plus avancé que locate, permet beaucoup plus de finesse dans les recherches.

<P>
<DL>
<DT><STRONG>find:</STRONG></DT>
<DD>Rechercher des fichiers dans une hiérarchie de répertoires.
</DD>
<DT><STRONG>Usage:</STRONG></DT>
<DD>find [CHEMIN] [CONDITION]... [ACTION]
<DL>
<DT><STRONG>CHEMIN:</STRONG></DT>
<DD>la base de l'arborescence à chercher (récursivement par défaut) [NB: attention, ça peut être long.] (défaut: répertoire courant)
</DD>
<DT><STRONG>CONDITION:</STRONG></DT>
<DD>les critères auxquels chaque nom de fichier sera comparé (défaut: aucun, donc tous les fichiers seront pris)
<DL>
<DT><STRONG>-name "PATRON"</STRONG></DT>
<DD>= cherche le PATRON (expression régulière)
</DD>
<DT><STRONG>-type <U>c</U></STRONG></DT>
<DD>= où le caractère indique: f=fichier normal, d=répertoire, etc.
</DD>
<DT><STRONG>ACTION:</STRONG></DT>
<DD>les fichiers répondant aux critères subiront l'[ACTION] (défaut: -print = écrire le "chemin"/"nom_fichier" à l'écran)
</DD>
</DL>
</DD>
</DL>
</DD>
</DL>

<P>
<HR>
<A NAME="tex2html201"
  HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="./icons/next.png"></A> 
<A NAME="tex2html197"
  HREF="talk_bash.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="./icons/up.png"></A> 
<A NAME="tex2html191"
  HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="./icons/prev.png"></A> 
<A NAME="tex2html199"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents"
 SRC="./icons/contents.png"></A>  <BR>
<B> Next:</B> <A NAME="tex2html202"
  HREF="node6.html">Créer</A>
<B>Up:</B> <A NAME="tex2html198"
  HREF="talk_bash.html">La console - version</A>
<B> Previous:</B> <A NAME="tex2html192"
  HREF="node4.html">Voir et connaître</A>

<!--End of Navigation Panel-->
<ADDRESS>
<I>Xavier Barnabe-Theriault <BR>
2001-09-20</I>
</ADDRESS>
</BODY>
</HTML>




See more files for this project here

Gulus

Groupe d\'Utilisateurs de Linux de l\'Universit? de Sherbrooke. http://www.gulus.org/

Project homepage: http://sourceforge.net/projects/gulus
Programming language(s): PHP,Shell Script
License: other

  icons/
    contents.png
    next.png
    next_g.png
    prev.png
    prev_g.png
    up.png
    up_g.png
  index.html
  node1.html
  node10.html
  node11.html
  node2.html
  node3.html
  node4.html
  node5.html
  node6.html
  node7.html
  node8.html
  node9.html
  talk_bash.css
  talk_bash.html