Differences
This shows you the differences between the selected revisions of the page.
2014-12-22 | 2014-12-22 | ||
relying on PS1 is very unportable solution (martin) | replacing cryptic username with a placeholder (martin) | ||
Line 72: | Line 72: | ||
Another example using shell commands only, in case PHP is unavailable. | Another example using shell commands only, in case PHP is unavailable. | ||
- | <code>echo 'http://www.example.com'`pwd`'!' | sed s#home/lgtngstk/public_html#~user#</code> | + | <code>echo 'http://www.example.com'`pwd`'!' | sed s#home/user/public_html#~user#</code> |
===== Templates ===== | ===== Templates ===== |