Операционная система Linux


Пример 8.5


[methody@localhost methody]$ unalias cp rm mv

[methody@localhost methody]$ alias pd=pushd

[methody@localhost methody]$ alias pp=popd

[methody@localhost methody]$ pd /bin

/bin ~

[methody@localhost bin]$ pd /usr/share/doc

/usr/share/doc /bin ~

[methody@localhost doc]$ cd /var/tmp

[methody@localhost tmp]$ dirs

/var/tmp /bin ~

[methody@localhost tmp]$ pp

/bin ~

[methody@localhost bin]$ pp

~

[methody@localhost methody]$ pp

-bash: popd: directory stack empty




Начало  Назад  Вперед



Книжный магазин