Skip to content

Tip #6: Substitution von Verzeichnissen

Auf der Mailingliste der zsh-Nutzer lief mir heute ein netter Tip über den Weg:

Stelle dir vor, du befindest dich im Verzeichnis /var/www/user123/statistik/log/heute und willst nach /var/www/user134/statistik/log/heute wechseln, d.h. einfach in dasselbe Verzeichnis eines andren Nutzers. In der zsh geht das ganz einfach:

cd 123 134

Siehe da, du stehst im richtigen Verzeichnis.

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
BBCode format allowed
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Form options
cronjob