correction cd page
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@164 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
d8ce73bcb3
commit
9ff795807d
|
@ -6,15 +6,23 @@ tags: change directory
|
|||
author: Mirko Ponzio
|
||||
title: cd
|
||||
---
|
||||
<p> Nei sistemi operativi Unix e Unix-like, e più in generale nei sistemi POSIX[1], cd (abbreviazione dalla lingua inglese di change directory,
|
||||
cambia directory) è un comando interno delle shell testuali che cambia la directory corrente della shell da cui viene eseguito. <br><br>
|
||||
<p> In the operative system Unix and Unix-like, and in general in the system
|
||||
POSIX, cd (change directory) is an internal command of shell that change the
|
||||
corrent directory. <br><br>
|
||||
|
||||
Il comando è necessariamente un comando interno della shell, e non può essere un programma esterno ad essa,
|
||||
in quanto un processo può modificare solo la propria directory corrente e non quella di altri processi;
|
||||
da ciò segue che la shell deve implementare autonomamente questa funzione.
|
||||
La nuova impostazione della directory corrente viene comunque ereditata dai programmi avviati in seguito dalla stessa shell. <br> <br>
|
||||
The command is only an internal command of shell, it can't be an external program,
|
||||
because one process can modified only the own corrent directory and not that of
|
||||
other processes.
|
||||
So the Shell has to implement this function autonomously.
|
||||
|
||||
Dopo un cambio di directory corrente, la variabile d'ambiente PWD viene automaticamente aggiornata con il pathname della nuova directory corrente.</p> <br> <br>
|
||||
|
||||
La new setting of the corrent directory it has been inherited from the started
|
||||
programs.
|
||||
<br> <br>
|
||||
|
||||
After the change of the directory, the variable pwd it is automatically updated
|
||||
with the pathname of the new directory.
|
||||
</p> <br> <br>
|
||||
|
||||
<h2> Some usefull command for CD<h2>
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user