Anonymous user
Cheatsheet: Difference between revisions
m
Add information about nix-locate
imported>Flokli (→Building a service as a VM (for testing): systemd-getty-generator with console=ttyS0 starts getty automatically) |
imported>Balsoft m (Add information about nix-locate) |
||
Line 216: | Line 216: | ||
|Show package for file | |Show package for file | ||
|<syntaxhighlight lang="console">$ dpkg -S /usr/bin/emacs</syntaxhighlight> | |<syntaxhighlight lang="console">$ dpkg -S /usr/bin/emacs</syntaxhighlight> | ||
|follow the symlink | |follow the symlink or <syntaxhighlight lang="console">nix-locate /bin/emacs</syntaxhighlight> (requires <syntaxhighlight lang="console">nix-index</syntaxhighlight> package) | ||
| | |(same) | ||
|- | |- | ||
| colspan="5" style="text-align:center"| Services | | colspan="5" style="text-align:center"| Services |