Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| docker_notes:init [2025-06-15 Sun wk24 11:41] – [alias in S6 init] baumkp | docker_notes:init [2025-09-26 Fri wk39 19:37] (current) – [References] baumkp | ||
|---|---|---|---|
| Line 107: | Line 107: | ||
| =====alias in S6 init===== | =====alias in S6 init===== | ||
| - | I like the alias command to change some default CLI command flags, in particular ls => ls -la, which I normally call ll. I had no success using the alias command in S6 init scripts. I found the following solution. Basically | + | I like the alias command to change some default CLI command flags, in particular ls => ls -la, which I normally call ll. I had no success using the alias command in S6 init scripts. I found the following solution, by using the s6 pre_start_script to add a link '' |
| <code bash># | <code bash># | ||
| Line 116: | Line 116: | ||
| exec ls -la " | exec ls -la " | ||
| =====References===== | =====References===== | ||
| - | *[[https:// | + | *[[https:// |
| *[[https:// | *[[https:// | ||
| *[[https:// | *[[https:// | ||