Jump to content

Cheatsheet: Difference between revisions

142 bytes added ,  16 September 2020
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)
|follow the symlink
|(same)
|-
|-
| colspan="5" style="text-align:center"| Services
| colspan="5" style="text-align:center"| Services
Anonymous user