Searching, features of files, folders

  1. How to find a file
    At the terminal type
    \framebox{
\texttt{
\textcolor{red}{\bf find -name \lq\lq FILENAME.EXTENTION'' -print}
}
}

  2. How to know what files are in the Trash
    At the terminal type
    \framebox{
\texttt{
\textcolor{red}{\bf ls /.Trash}
}
}

  3. How to know the properties of folders/file

    \framebox{
\texttt{
\textcolor{red}{\bf du -h FOLDERNAME}
}
}

    \framebox{
\texttt{
\textcolor{red}{\bf du -sh *}
}
} (this would tell me the used space)

    to know the free space of a disk (for example a USB one)

    \framebox{
\texttt{
\textcolor{red}{\bf df 'path.to.the.folder'}
}
}



Webmaster: Christian E. Salas Eljatib, E-mail: christian.salas@yale.edu