Précédent Index Suivant

2  Principales commandes par thèmes

2.1  Manipulations du système de fichiers


commande description
pwd print working directory
cd change directory
mkdir make directory
rmdir remove directory
ls list directory
mv move file
cp copy file
file type of file
ln link files
touch touch date of file
find find file in directories
chmod change mode of file
cat show file
more browser
head head of file
tail tail of file

2.2  Filtres Unix


commande description
tr translate characters
sed stream editor
grep grasp lines
cut select fields
paste paste fields
uniq uniq and repeated lines
tee copy stream in file
sort sort lines
join join files
comm lines in common
diff differences between files
cmp compare files
look find lines in a sorted file

2.3  Commandes utiles


commande description
man unix manual on line
expr computes an expression
sh Bourne shell
ps processes list
kill kill process

2.4  Bourne shell


commande description
if if clause
for for loop
case switch
while while loop
test condition for if and while
getopts get options
shift shift arguments
echo echo
read read one line
exit exit from shell
eval eval and execute
break exit from loop
set set shell parameters


Précédent Index Suivant