* David C. Rankin drankinatty@suddenlinkmail.com [01-01-70 12:34]:
~/.bashrc aliases
## systemd aliases
alias lsd='ls -1 /usr/lib/systemd/system/' #list systemd services alias lsde='ls -1 l1 /etc/systemd/system/multi-user.target.wants/' # list enabled
above lsde to what does "l1" refer, ls -1 l1 /etc/sys....
tks
El 25/09/14 a las #4, Patrick Shanahan escribió:
- David C. Rankin drankinatty@suddenlinkmail.com [01-01-70 12:34]:
~/.bashrc aliases
## systemd aliases
alias lsd='ls -1 /usr/lib/systemd/system/' #list systemd services alias lsde='ls -1 l1 /etc/systemd/system/multi-user.target.wants/' # list enabled
above lsde to what does "l1" refer, ls -1 l1 /etc/sys....
tks
WUT ? there are commands for that.. that is not the correct way to do it.
systemctl list-units-files for the first one
systemctl list-units -t service to list all the active units of type service.